EmulatorControl
@Incubating interface EmulatorControl
Options for configuring Android Emulator Access
When enabled, it will be possible to control the emulator through gRPC.
Summary
Public properties |
|
---|---|
MutableSet<String> |
Set of endpoints to which access is granted, this is only required if the method you wish to access is in the set of methods that require authorization as defined in emulator_access.json used by the emulator this test is running on. |
Boolean |
True if emulator control should be enabled. |
Int |
The duration in seconds the test can access the gRPC endpoint. |
Public properties
allowedEndpoints
val allowedEndpoints: MutableSet<String>
Set of endpoints to which access is granted, this is only required if the method you wish to access is in the set of methods that require authorization as defined in emulator_access.json used by the emulator this test is running on.
Details on which endpoints and what considerations are taken to make an endpoint accessible is described in go/emu-grpc-integration.
secondsValid
var secondsValid: Int
The duration in seconds the test can access the gRPC endpoint. The default value is 3600 (one hour).