EventType
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
أنواع الأحداث المختلفة المحتملة.
عمليات التعداد |
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 المتصلة إلى أقل من -70 ديسيبل ميلي واط. |
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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]