Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateShutdown state = iota StateBooted )
StateShutdown represents the shutdown state of a device StateBooted represents the booted (successfully started) state of a device
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
ID string `json:"id"`
DebugPort string `json:"debug_port"`
State state `json:"state"`
Kind Kind `json:"kind"`
}
Instance represents a virtual device ID is the unique identifier of the virtual device DebugPort is only available on Android devices State stores the current state of the device, if successfully started setting it to Booted, otherwise Shutdown Kind stores the type of the device, it can be iOS or Android
Click to show internal directories.
Click to hide internal directories.