EventType
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Los diferentes tipos de eventos posibles
Enumeraciones |
EVENT_TYPE_UNSPECIFIED |
Tipo de evento desconocido. |
AUDIO_SEVERE_UNDERRUN |
Se activa cuando un dispositivo de audio se queda sin datos del búfer durante más de 5 segundos. |
NETWORK_STATE_CHANGE |
Se activa de inmediato ante cualquier cambio en una conexión de red. |
USB_ADDED |
Se activa cuando se agregan dispositivos USB. |
USB_REMOVED |
Se activa cuando se quitan dispositivos USB. |
NETWORK_HTTPS_LATENCY_CHANGE |
Se activa cuando se detecta un nuevo problema de latencia HTTPS o cuando el dispositivo se recuperó de un problema de latencia HTTPS existente. |
WIFI_SIGNAL_STRENGTH_LOW |
Se activa cuando la intensidad de la señal de la red Wi-Fi conectada es inferior a -70 dBm. |
WIFI_SIGNAL_STRENGTH_RECOVERED |
Se activa cuando la intensidad de la señal de la red Wi-Fi conectada se recupera de una pérdida de señal. |
VPN_CONNECTION_STATE_CHANGE |
Se activa cuando ocurren cambios en las conexiones VPN. |
APP_INSTALLED |
Se activa cuando se instala una app. |
APP_UNINSTALLED |
Se activa cuando se desinstala una app. |
APP_LAUNCHED |
Se activa cuando se inicia una app. |
OS_CRASH |
Se activa cuando ocurre una falla. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eThis documentation details the different types of events that can be triggered, ranging from hardware (USB, audio, network) to software (app installations, launches, crashes).\u003c/p\u003e\n"],["\u003cp\u003eEvents 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.\u003c/p\u003e\n"],["\u003cp\u003eEach event type has a unique identifier (enum) for programmatic use, like \u003ccode\u003eAUDIO_SEVERE_UNDERRUN\u003c/code\u003e or \u003ccode\u003eNETWORK_STATE_CHANGE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSome events provide detailed information about the trigger, such as the duration of an audio underrun or the new state of a network connection.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize these event types to monitor and respond to various system and application states within their code.\u003c/p\u003e\n"]]],[],null,["# EventType\n\nThe different possible event types.\n\n| Enums ||\n|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `EVENT_TYPE_UNSPECIFIED` | Event type unknown. |\n| `AUDIO_SEVERE_UNDERRUN` | Triggered when a audio devices run out of buffer data for more than 5 seconds. |\n| `NETWORK_STATE_CHANGE` | Triggered immediately on any changes to a network connection. |\n| `USB_ADDED` | Triggered when USB devices are added. |\n| `USB_REMOVED` | Triggered when USB devices are removed. |\n| `NETWORK_HTTPS_LATENCY_CHANGE` | Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem. |\n| `WIFI_SIGNAL_STRENGTH_LOW` | Triggered when connected WiFi network signal strength drops below -70dBm. |\n| `WIFI_SIGNAL_STRENGTH_RECOVERED` | Triggered when connected WiFi network signal strength is recovered from a signal drop. |\n| `VPN_CONNECTION_STATE_CHANGE` | Triggered on changes to VPN connections. |\n| `APP_INSTALLED` | Triggered when an app is installed. |\n| `APP_UNINSTALLED` | Triggered when an app is uninstalled. |\n| `APP_LAUNCHED` | Triggered when an app is launched. |\n| `OS_CRASH` | Triggered when a crash occurs. |"]]