EventType
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
סוגי האירועים השונים האפשריים.
טיפוסים בני מנייה (enum) |
EVENT_TYPE_UNSPECIFIED |
סוג האירוע לא ידוע. |
AUDIO_SEVERE_UNDERRUN |
מופעל כשחסרים נתונים במאגר הנתונים הזמני בהתקני אודיו במשך יותר מ-5 שניות. |
NETWORK_STATE_CHANGE |
מופעל באופן מיידי בכל שינוי בחיבור לרשת. |
USB_ADDED |
מופעל כשמוסיפים התקני USB. |
USB_REMOVED |
מופעל כשמסירים התקני USB. |
NETWORK_HTTPS_LATENCY_CHANGE |
מופעל כשזוהתה בעיה חדשה בזמן האחזור של HTTPS או כשהמכשיר שוחזר בגלל בעיה קיימת של זמן אחזור ב-HTTPS. |
WIFI_SIGNAL_STRENGTH_LOW |
מופעל כשעוצמת האות של רשת Wi-Fi מחוברת יורדת מתחת ל- -70dBm. |
WIFI_SIGNAL_STRENGTH_RECOVERED |
מופעל כשעוצמת האות של רשת ה-Wi-Fi המחוברת מתאוששת מנפילת אות. |
VPN_CONNECTION_STATE_CHANGE |
הופעל בעקבות שינויים בחיבורי ה-VPN. |
APP_INSTALLED |
מופעל כשאפליקציה מותקנת. |
APP_UNINSTALLED |
מופעל כשמסירים אפליקציה. |
APP_LAUNCHED |
מופעל כשאפליקציה מופעלת. |
OS_CRASH |
מופעל כשמתרחשת קריסה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]