Get desktop application:
View/edit binary Protocol Buffers messages
Represents an input action to be executed on the target Android device.
Used in:
The type of action to perform. Always required.
The screen position for touch actions. REQUIRED if action_type is TOUCH_DOWN or TOUCH_MOVE. Omitted otherwise.
The Android keycode integer (e.g. 4 for BACK, 3 for HOME). REQUIRED if action_type is KEY_EVENT. Omitted otherwise.
Identifies the pointer (finger) for multi-touch support. Optional. Defaults to 0 (primary pointer) if unset. Value range: [0, 9].
Text to insert into target text field. REQUIRED if action_type is SET_TEXT. Omitted otherwise.
Selection start index for text field cursor/highlight. REQUIRED if action_type is SET_SELECTION. Omitted otherwise.
Selection end index for text field cursor/highlight. REQUIRED if action_type is SET_SELECTION. Omitted otherwise.
Enumerates the types of interactive input actions that can be injected.
Used in:
Pressing down on the screen at a specific coordinate.
Lifting up from the screen.
Dragging/moving a pointer across the screen.
Injecting a physical hardware keycode event (e.g. BACK, HOME).
Native text insertion via Accessibility ACTION_SET_TEXT.
Setting text selection or cursor position via Accessibility ACTION_SET_SELECTION.
Native clipboard cut via Accessibility ACTION_CUT.
Native clipboard copy via Accessibility ACTION_COPY.
Native clipboard paste via Accessibility ACTION_PASTE.
A single block of raw audio data captured from the device.
Used in:
Raw PCM audio bytes.
Audio sampling rate in Hertz. Value range: [8000, 48000] (typically 44100).
Number of audio channels. Value range: [1, 2] (1 = mono, 2 = stereo).
PCM encoding format string (e.g., "AUDIO_FORMAT_PCM_16BIT").
Telemetry metrics for device battery state, current draw, voltage, and calculated power.
Used in:
Battery charge level percentage [0-100].
Instantaneous current draw in microamperes (uA). Positive for discharge, negative for charging.
Voltage in millivolts (mV).
Calculated instantaneous power in milliwatts (mW).
Battery temperature in degrees Celsius (°C).
Battery health/status string (e.g., "CHARGING", "DISCHARGING", "FULL").
Plugged power source ("AC", "USB", "WIRELESS", "UNPLUGGED").
Total remaining charge counter in microampere-hours (uAh).
Current thermal status (0 = NONE to 6 = SHUTDOWN).
Total remaining battery energy in nanowatt-hours (nWh).
Top-level wrapper message sent from the Python Client to the Android Server.
Configure which telemetry signals the server should stream/capture.
Inject a physical user action.
Query the current state of the device synchronously.
Represents raw decoded screenshot image pixel data.
Used in:
Uncompressed raw RGB pixel bytes.
Frame width in pixels.
Frame height in pixels.
Enumerates all supported sensory streams and telemetry signals that can be observed from the Android device.
Used in: ,
A raw image of the device display (typically PNG or JPEG).
The current UI accessibility hierarchy tree.
Stream of UI accessibility events.
The package name of the foreground application (e.g. "com.android.chrome").
The class name of the current foreground activity.
Recent logcat system logs.
List of currently running process names.
Key-value map of system settings (e.g. screen_brightness, volume).
Linear acceleration force along the X, Y, and Z axes (in m/s^2).
Rate of rotation around the X, Y, and Z axes (in rad/s).
Ambient magnetic field along the X, Y, and Z axes (in micro-Tesla).
Atmospheric pressure (in hectopascals / hPa).
Ambient room temperature (in degrees Celsius).
Ambient light level (in lux).
Proximity sensor distance (in centimeters).
Heart rate from wearable sensors (in beats per minute).
Current GPS coordinates (Latitude, Longitude, Altitude).
Continuous audio frames captured from the device speaker output.
Battery and power consumption metrics (current, voltage, power, temp, status).
Represents the aggregated state of all subscribed signals on the device.
Used in:
List of active signal observations currently subscribed.
Wall-clock time on the device when this state snapshot was assembled (microseconds since epoch).
Current screen rotation (0: ROTATION_0, 1: ROTATION_90, 2: ROTATION_180, 3: ROTATION_270).
Details of an error encountered on the server.
Used in:
Wrapper for an array of floats (e.g. sensor readings).
Used in:
Empty request to trigger a manual state fetch.
Used in:
(message has no fields)
GPS geolocation coordinates.
Used in:
Latitude in degrees. Value range: [-90.0, 90.0].
Longitude in degrees. Value range: [-180.0, 180.0].
Altitude in meters above the WGS 84 reference ellipsoid.
Request to inject an input action.
Used in:
Represents a 2D coordinate point on the screen.
Used in:
X-coordinate normalized between 0.0 (left edge) and 1.0 (right edge).
Y-coordinate normalized between 0.0 (top edge) and 1.0 (bottom edge).
Wraps screenshot image bytes. Exactly one representation format is set.
Used in:
Raw compressed image bytes (typically JPEG or PNG format).
Uncompressed raw RGB pixel payload.
Top-level wrapper message sent from the Android Server back to the Client.
Contains the requested device state telemetry.
Error details if an operation failed on the server.
Represents a single streamed telemetry signal packaging metadata and the value.
Used in:
The type of signal this message represents.
Metadata for this signal capture.
The actual signal value.
Metadata accompanying a streamed signal value, enabling synchronization and latency tracking.
Used in:
The device wall-clock time when the signal was captured (microseconds since epoch).
Monotonically increasing sequence identifier to detect frame drops or out-of-order delivery.
Wrapper for a list of strings (e.g. log lines).
Used in:
Wrapper for key-value maps (e.g. system settings).
Used in:
Request to modify the list of active telemetry subscriptions.
Used in: