EventType

  • This documentation details the different types of events that can be triggered, ranging from hardware (USB, audio, network) to software (app installations, launches, crashes).

  • Events provide specific triggers, such as audio buffer underruns, network connection changes, USB device connections, HTTPS latency problems, WiFi signal strength fluctuations, VPN connection changes, app installations, and operating system crashes.

  • Each event type has a unique identifier (enum) for programmatic use, like AUDIO_SEVERE_UNDERRUN or NETWORK_STATE_CHANGE.

  • Some events provide detailed information about the trigger, such as the duration of an audio underrun or the new state of a network connection.

  • Developers can utilize these event types to monitor and respond to various system and application states within their code.

The different possible event types.

Enums
EVENT_TYPE_UNSPECIFIED Event type unknown.
AUDIO_SEVERE_UNDERRUN Triggered when a audio devices run out of buffer data for more than 5 seconds.
NETWORK_STATE_CHANGE Triggered immediately on any changes to a network connection.
USB_ADDED Triggered when USB devices are added.
USB_REMOVED Triggered when USB devices are removed.
NETWORK_HTTPS_LATENCY_CHANGE Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.
WIFI_SIGNAL_STRENGTH_LOW Triggered when connected WiFi network signal strength drops below -70dBm.
WIFI_SIGNAL_STRENGTH_RECOVERED Triggered when connected WiFi network signal strength is recovered from a signal drop.
VPN_CONNECTION_STATE_CHANGE Triggered on changes to VPN connections.
APP_INSTALLED Triggered when an app is installed.
APP_UNINSTALLED Triggered when an app is uninstalled.
APP_LAUNCHED Triggered when an app is launched.
OS_CRASH Triggered when a crash occurs.