installToRemoteAccessSession
abstract suspend fun installToRemoteAccessSession(input: InstallToRemoteAccessSessionRequest): InstallToRemoteAccessSessionResponse
Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.
Samples
fun main() {
//sampleStart
// The following example installs a specific app to a device in a specific remote access session.
val resp = deviceFarmClient.installToRemoteAccessSession {
remoteAccessSessionArn = "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
appArn = "arn:aws:devicefarm:us-west-2:123456789101:app:EXAMPLE-GUID-123-456"
}
//sampleEnd
}