EventType
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eUsageLogEvent\u003c/code\u003e types categorize various device events for Android device management.\u003c/p\u003e\n"],["\u003cp\u003eEach event type corresponds to a specific event like \u003ccode\u003eKEYGUARD_DISMISSED\u003c/code\u003e, \u003ccode\u003eFILE_PULLED\u003c/code\u003e, or \u003ccode\u003eOS_STARTUP\u003c/code\u003e, and is further detailed in linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eThese types allow administrators to track and understand device usage and activities for security and management purposes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEVENT_TYPE_UNSPECIFIED\u003c/code\u003e is a reserved value and not used for indicating any specific event.\u003c/p\u003e\n"]]],["This document defines the various types of usage log events. These events track actions such as `adb` shell commands, application process starts, keyguard actions (dismissal/security), file transfers, certificate installations/removals, key management (generation/destruction/import), logging operations, media mounting/unmounting, OS startup/shutdown, device lock/wipe attempts, network connections, lost mode events, and enrollment completion. Each event type indicates that a specific corresponding event field has been populated in the usage log.\n"],null,["# EventType\n\nUsage log event type.\n\n| Enums ||\n|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `EVENT_TYPE_UNSPECIFIED` | This value is not used |\n| `ADB_SHELL_COMMAND` | Indicates [`adbShellCommandEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.adb_shell_command_event) has been set. |\n| `ADB_SHELL_INTERACTIVE` | Indicates [`adbShellInteractiveEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.adb_shell_command_event) has been set. |\n| `APP_PROCESS_START` | Indicates [`appProcessStartEvent `](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.app_process_start_event) has been set. |\n| `KEYGUARD_DISMISSED` | Indicates [`keyguardDismissedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.keyguard_dismissed_event) has been set. |\n| `KEYGUARD_DISMISS_AUTH_ATTEMPT` | Indicates [`keyguardDismissAuthAttemptEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.keyguard_dismiss_auth_attempt_event) has been set. |\n| `KEYGUARD_SECURED` | Indicates [`keyguardSecuredEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.keyguard_secured_event) has been set. |\n| `FILE_PULLED` | Indicates [`filePulledEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.file_pulled_event) has been set. |\n| `FILE_PUSHED` | Indicates [`filePushedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.file_pushed_event) has been set. |\n| `CERT_AUTHORITY_INSTALLED` | Indicates [`certAuthorityInstalledEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.cert_authority_installed_event) has been set. |\n| `CERT_AUTHORITY_REMOVED` | Indicates [`certAuthorityRemovedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.cert_authority_removed_event) has been set. |\n| `CERT_VALIDATION_FAILURE` | Indicates [`certValidationFailureEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.cert_validation_failure_event) has been set. |\n| `CRYPTO_SELF_TEST_COMPLETED` | Indicates [`cryptoSelfTestCompletedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.crypto_self_test_completed_event) has been set. |\n| `KEY_DESTRUCTION` | Indicates [`keyDestructionEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.key_destruction_event) has been set. |\n| `KEY_GENERATED` | Indicates [`keyGeneratedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.key_generated_event) has been set. |\n| `KEY_IMPORT` | Indicates [`keyImportEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.key_import_event) has been set. |\n| `KEY_INTEGRITY_VIOLATION` | Indicates [`keyIntegrityViolationEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.key_integrity_violation_event) has been set. |\n| `LOGGING_STARTED` | Indicates [`loggingStartedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.logging_started_event) has been set. |\n| `LOGGING_STOPPED` | Indicates [`loggingStoppedEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.logging_stopped_event) has been set. |\n| `LOG_BUFFER_SIZE_CRITICAL` | Indicates [`logBufferSizeCriticalEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.log_buffer_size_critical_event) has been set. |\n| `MEDIA_MOUNT` | Indicates [`mediaMountEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.media_mount_event) has been set. |\n| `MEDIA_UNMOUNT` | Indicates [`mediaUnmountEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.media_unmount_event) has been set. |\n| `OS_SHUTDOWN` | Indicates [`osShutdownEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.os_shutdown_event) has been set. |\n| `OS_STARTUP` | Indicates [`osStartupEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.os_startup_event) has been set. |\n| `REMOTE_LOCK` | Indicates [`remoteLockEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.remote_lock_event) has been set. |\n| `WIPE_FAILURE` | Indicates [`wipeFailureEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.wipe_failure_event) has been set. |\n| `CONNECT` | Indicates [`connectEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.connect_event) has been set. |\n| `DNS` | Indicates [`dnsEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.dns_event) has been set. |\n| `STOP_LOST_MODE_USER_ATTEMPT` | Indicates [`stopLostModeUserAttemptEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.stop_lost_mode_user_attempt_event) has been set. |\n| `LOST_MODE_OUTGOING_PHONE_CALL` | Indicates [`lostModeOutgoingPhoneCallEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.lost_mode_outgoing_phone_call_event) has been set. |\n| `LOST_MODE_LOCATION` | Indicates [`lostModeLocationEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.lost_mode_location_event) has been set. |\n| `ENROLLMENT_COMPLETE` | Indicates [`enrollmentCompleteEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.enrollment_complete_event) has been set. |\n| `BACKUP_SERVICE_TOGGLED` | Indicates [`backupServiceToggledEvent`](/android/management/reference/rest/v1/BatchUsageLogEvents#UsageLogEvent.FIELDS.backup_service_toggled_event) has been set. |"]]