EmulatorControl

Added in 8.1.0

@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

Added in 8.1.0
val allowedEndpointsMutableSet<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.

enable

Added in 8.1.0
var enableBoolean

True if emulator control should be enabled.

secondsValid

Added in 8.1.0
var secondsValidInt

The duration in seconds the test can access the gRPC endpoint. The default value is 3600 (one hour).