package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Functions

Devices returns the list of attached Android devices.
ForwardAndConnect forwards the local-abstract-socket las and connects to it.
LimitToSerial restricts the device lookup to only scan and operate on the device with the given serial id.
LocalFreeTCPPort returns a currently free TCP port on the localhost.
Monitor updates the registry with devices that are added and removed at the specified interval.
RegisterDeviceInfoProvider registers f to be called to add additional information to a newly discovered Android device.

# Constants

Event codes.
Event codes.
Event codes.
Event codes.
Event codes.
ErrDeviceNotRooted is returned by Device.Root when the device is running a production build as is not 'rooted'.
ErrInvalidDeviceList May be returned if the device list could not be parsed.
ErrInvalidStatus May be returned if the status string is not a known status.
ErrNoDeviceList May be returned if the adb fails to return a device list when asked.
Event types.
Event types.
Event codes.

# Variables

ADB is the path to the adb executable, or an empty string if the adb executable was not found.

# Structs

Driver contains the information about a graphics driver.

# Interfaces

Device extends the android.Device interface with adb specific features.
Port is the interface for sockets ports that can be forwarded from an Android Device to the local machine.

# Type aliases

DeviceInfoProvider is a function that adds additional information to a Device.
DeviceList is a list of devices.
NamedAbstractSocket represents an abstract UNIX domain socket name on either the local machine or Android device.
NamedFileSystemSocket represents an file system UNIX domain socket name on either the local machine or Android device.
TCPPort represents a TCP/IP port on either the local machine or Android device.