Documentation ¶
Overview ¶
Package emulator provides common functionality to manage Android emulators.
Index ¶
- Variables
- func DisableAnimations() error
- func DisableDarkTheme() error
- func EnableAnimations() error
- func EnableDarkTheme() error
- func SetDisplaySize(value float32) error
- func SetFontSize(value string) error
- func Start(name string) error
- func ToggleAnimations() error
- func ToggleDarkTheme() error
- type AVD
Constants ¶
This section is empty.
Variables ¶
View Source
var PrintInvocations bool
PrintInvocations controls whether to print invocations of subprocesses.
View Source
var Serial string
Serial is the serial port of the running AVD, for example "emulator-5554".
Functions ¶
func DisableAnimations ¶ added in v0.2.12
func DisableAnimations() error
func DisableDarkTheme ¶ added in v0.2.1
func DisableDarkTheme() error
func EnableAnimations ¶ added in v0.2.12
func EnableAnimations() error
func EnableDarkTheme ¶ added in v0.2.1
func EnableDarkTheme() error
func SetDisplaySize ¶ added in v0.2.1
func SetFontSize ¶ added in v0.2.1
func ToggleAnimations ¶ added in v0.2.12
func ToggleAnimations() error
func ToggleDarkTheme ¶ added in v0.2.1
func ToggleDarkTheme() error
Types ¶
type AVD ¶
type AVD struct { Name string Running bool // PID of the emulator process. Equals 0 if Running is false. Pid int }
AVD represents an Android Virtual Device.
It assumes that no 2 instances of the same AVD run at the same time.
Click to show internal directories.
Click to hide internal directories.