android

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Config config.Config
}

Device represents the Android device action strategy

func New

func New() Device

New is creating a new Android device action strategy

func (Device) Boot

func (d Device) Boot(i types.Instance) error

Boot is starting an android virtual device passing the types.Instance's DebugPort for future operations

func (Device) Create

func (d Device) Create(s string) (string, types.Kind, error)

Create doesn't supported on Android devices

func (Device) List

func (d Device) List() types.Pairs

List converts the parsed devices to the common format and assign a random debug port to the device between 5555 and 5586

func (Device) SetTheme

func (d Device) SetTheme(instance types.Instance, s string) error

SetTheme doesn't supported on Android devices

func (Device) Shutdown

func (d Device) Shutdown(i types.Instance) error

Shutdown is trying to terminate the virtual device

func (Device) WaitUntilBooted

func (d Device) WaitUntilBooted(instance types.Instance) error

WaitUntilBooted is waiting until virtual device booted

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL