系统广播 intent(API 级别 31)

Android 系统会在发生各种系统事件时自动发送广播,例如当系统进入和退出飞行模式时。系统会向所有同意接收相关事件的应用发送这些广播。

下表列出了您的应用在 Android 12(API 级别 31)中可接收的标准系统广播 intent。如需详细了解每个广播 intent,请访问以下链接。如需详细了解广播或如何接收广播,请参阅相关文档

注意:如果您发现某个设备未按预期处理常见的应用 intent,请发送反馈告诉我们。

常量 intent 操作详细信息
ACTION_ACCOUNT_REMOVED android.accounts.action.ACCOUNT_REMOVED
ACTION_ACL_CONNECTED android.bluetooth.device.action.ACL_CONNECTED
ACTION_ACL_DISCONNECT_REQUESTED android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
ACTION_ACL_DISCONNECTED android.bluetooth.device.action.ACL_DISCONNECTED
ACTION_ADAPTER_STATE_CHANGED android.nfc.action.ADAPTER_STATE_CHANGED
ACTION_AIRPLANE_MODE_CHANGED android.intent.action.AIRPLANE_MODE
ACTION_ALIAS_CHANGED android.bluetooth.device.action.ALIAS_CHANGED
ACTION_APP_BLOCK_STATE_CHANGED android.app.action.APP_BLOCK_STATE_CHANGED
ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED android.app.action.APPLICATION_DELEGATION_SCOPES_CHANGED
ACTION_APPLICATION_RESTRICTIONS_CHANGED android.intent.action.APPLICATION_RESTRICTIONS_CHANGED
ACTION_APPWIDGET_DELETED android.appwidget.action.APPWIDGET_DELETED
ACTION_APPWIDGET_DISABLED android.appwidget.action.APPWIDGET_DISABLED
ACTION_APPWIDGET_ENABLED android.appwidget.action.APPWIDGET_ENABLED
ACTION_APPWIDGET_HOST_RESTORED android.appwidget.action.APPWIDGET_HOST_RESTORED
ACTION_APPWIDGET_OPTIONS_CHANGED android.appwidget.action.APPWIDGET_UPDATE_OPTIONS
ACTION_APPWIDGET_RESTORED android.appwidget.action.APPWIDGET_RESTORED
ACTION_APPWIDGET_UPDATE android.appwidget.action.APPWIDGET_UPDATE
ACTION_AUDIO_BECOMING_NOISY android.media.AUDIO_BECOMING_NOISY
ACTION_AUDIO_STATE_CHANGED android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
ACTION_AUTHENTICATOR_INTENT android.accounts.AccountAuthenticator
ACTION_AUTOMATIC_ZEN_RULE android.app.action.AUTOMATIC_ZEN_RULE
ACTION_AUTOMATIC_ZEN_RULE_STATUS_CHANGED android.app.action.AUTOMATIC_ZEN_RULE_STATUS_CHANGED
ACTION_BATTERY_CHANGED android.intent.action.BATTERY_CHANGED
ACTION_BATTERY_LOW android.intent.action.BATTERY_LOW
ACTION_BATTERY_OKAY android.intent.action.BATTERY_OKAY
ACTION_BOND_STATE_CHANGED android.bluetooth.device.action.BOND_STATE_CHANGED
ACTION_BOOT_COMPLETED android.intent.action.BOOT_COMPLETED
ACTION_CAMERA_BUTTON android.intent.action.CAMERA_BUTTON
ACTION_CARRIER_CONFIG_CHANGED android.telephony.action.CARRIER_CONFIG_CHANGED
ACTION_CHARGING android.os.action.CHARGING
ACTION_CHOOSE_PRIVATE_KEY_ALIAS android.app.action.CHOOSE_PRIVATE_KEY_ALIAS
ACTION_CLASS_CHANGED android.bluetooth.device.action.CLASS_CHANGED
ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
ACTION_CLOSE_SYSTEM_DIALOGS android.intent.action.CLOSE_SYSTEM_DIALOGS
ACTION_CONFIGURATION_CHANGED android.intent.action.CONFIGURATION_CHANGED
ACTION_CONNECTION_STATE_CHANGED android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
ACTION_CONNECTION_STATE_CHANGED android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
ACTION_CONNECTION_STATE_CHANGED android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
ACTION_CONNECTION_STATE_CHANGED android.bluetooth.hearingaid.profile.action.CONNECTION_STATE_CHANGED
ACTION_CONNECTION_STATE_CHANGED android.bluetooth.hiddevice.profile.action.CONNECTION_STATE_CHANGED
ACTION_DATE_CHANGED android.intent.action.DATE_CHANGED
ACTION_DEFAULT_CALL_SCREENING_APP_CHANGED android.telecom.action.DEFAULT_CALL_SCREENING_APP_CHANGED
ACTION_DEFAULT_DIALER_CHANGED android.telecom.action.DEFAULT_DIALER_CHANGED
ACTION_DEFAULT_SMS_PACKAGE_CHANGED android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED
ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED android.telephony.action.DEFAULT_SMS_SUBSCRIPTION_CHANGED
ACTION_DEFAULT_SUBSCRIPTION_CHANGED android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED
ACTION_DEVICE_ADMIN_DISABLE_REQUESTED android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
ACTION_DEVICE_ADMIN_DISABLED android.app.action.DEVICE_ADMIN_DISABLED
ACTION_DEVICE_ADMIN_ENABLED android.app.action.DEVICE_ADMIN_ENABLED
ACTION_DEVICE_IDLE_MODE_CHANGED android.os.action.DEVICE_IDLE_MODE_CHANGED
ACTION_DEVICE_OWNER_CHANGED android.app.action.DEVICE_OWNER_CHANGED
ACTION_DISCHARGING android.os.action.DISCHARGING
ACTION_DISCOVERY_FINISHED android.bluetooth.adapter.action.DISCOVERY_FINISHED
ACTION_DISCOVERY_STARTED android.bluetooth.adapter.action.DISCOVERY_STARTED
ACTION_DOCK_EVENT android.intent.action.DOCK_EVENT
ACTION_DOWNLOAD_COMPLETE android.intent.action.DOWNLOAD_COMPLETE
ACTION_DREAMING_STARTED android.intent.action.DREAMING_STARTED
ACTION_DREAMING_STOPPED android.intent.action.DREAMING_STOPPED
ACTION_DROPBOX_ENTRY_ADDED android.intent.action.DROPBOX_ENTRY_ADDED
ACTION_EVENT_REMINDER android.intent.action.EVENT_REMINDER
ACTION_EXTERNAL_APPLICATIONS_AVAILABLE android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
ACTION_EXTERNAL_PROVIDER_CHANGE android.provider.action.EXTERNAL_PROVIDER_CHANGE
ACTION_FETCH_VOICEMAIL android.intent.action.FETCH_VOICEMAIL
ACTION_FOUND android.bluetooth.device.action.FOUND
ACTION_GET_LANGUAGE_DETAILS android.speech.action.GET_LANGUAGE_DETAILS
ACTION_GET_RESTRICTION_ENTRIES android.intent.action.GET_RESTRICTION_ENTRIES
ACTION_GTALK_SERVICE_CONNECTED android.intent.action.GTALK_CONNECTED
ACTION_GTALK_SERVICE_DISCONNECTED android.intent.action.GTALK_DISCONNECTED
ACTION_HDMI_AUDIO_PLUG android.media.action.HDMI_AUDIO_PLUG
ACTION_HEADSET_PLUG android.intent.action.HEADSET_PLUG
ACTION_HEADSET_PLUG android.intent.action.HEADSET_PLUG
ACTION_INPUT_METHOD_CHANGED android.intent.action.INPUT_METHOD_CHANGED
ACTION_INTERRUPTION_FILTER_CHANGED android.app.action.INTERRUPTION_FILTER_CHANGED
ACTION_KEY_ACCESS_CHANGED android.security.action.KEY_ACCESS_CHANGED
ACTION_KEYCHAIN_CHANGED android.security.action.KEYCHAIN_CHANGED
ACTION_LOCAL_NAME_CHANGED android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
ACTION_LOCALE_CHANGED android.intent.action.LOCALE_CHANGED
ACTION_LOCK_TASK_ENTERING android.app.action.LOCK_TASK_ENTERING
ACTION_LOCK_TASK_EXITING android.app.action.LOCK_TASK_EXITING
ACTION_LOCKED_BOOT_COMPLETED android.intent.action.LOCKED_BOOT_COMPLETED
ACTION_MANAGE_PACKAGE_STORAGE android.intent.action.MANAGE_PACKAGE_STORAGE
ACTION_MANAGED_PROFILE_ADDED android.intent.action.MANAGED_PROFILE_ADDED
ACTION_MANAGED_PROFILE_AVAILABLE android.intent.action.MANAGED_PROFILE_AVAILABLE
ACTION_MANAGED_PROFILE_PROVISIONED android.app.action.MANAGED_PROFILE_PROVISIONED
ACTION_MANAGED_PROFILE_REMOVED android.intent.action.MANAGED_PROFILE_REMOVED
ACTION_MANAGED_PROFILE_UNAVAILABLE android.intent.action.MANAGED_PROFILE_UNAVAILABLE
ACTION_MANAGED_PROFILE_UNLOCKED android.intent.action.MANAGED_PROFILE_UNLOCKED
ACTION_MEDIA_BAD_REMOVAL android.intent.action.MEDIA_BAD_REMOVAL
ACTION_MEDIA_BUTTON android.intent.action.MEDIA_BUTTON
ACTION_MEDIA_CHECKING android.intent.action.MEDIA_CHECKING
ACTION_MEDIA_EJECT android.intent.action.MEDIA_EJECT
ACTION_MEDIA_MOUNTED android.intent.action.MEDIA_MOUNTED
ACTION_MEDIA_NOFS android.intent.action.MEDIA_NOFS
ACTION_MEDIA_REMOVED android.intent.action.MEDIA_REMOVED
ACTION_MEDIA_SCANNER_FINISHED android.intent.action.MEDIA_SCANNER_FINISHED
ACTION_MEDIA_SCANNER_STARTED android.intent.action.MEDIA_SCANNER_STARTED
ACTION_MEDIA_SHARED android.intent.action.MEDIA_SHARED
ACTION_MEDIA_UNMOUNTABLE android.intent.action.MEDIA_UNMOUNTABLE
ACTION_MEDIA_UNMOUNTED android.intent.action.MEDIA_UNMOUNTED
ACTION_MICROPHONE_MUTE_CHANGED android.media.action.MICROPHONE_MUTE_CHANGED
ACTION_MY_PACKAGE_REPLACED android.intent.action.MY_PACKAGE_REPLACED
ACTION_MY_PACKAGE_SUSPENDED android.intent.action.MY_PACKAGE_SUSPENDED
ACTION_MY_PACKAGE_UNSUSPENDED android.intent.action.MY_PACKAGE_UNSUSPENDED
ACTION_NAME_CHANGED android.bluetooth.device.action.NAME_CHANGED
ACTION_NETWORK_COUNTRY_CHANGED android.telephony.action.NETWORK_COUNTRY_CHANGED
ACTION_NETWORK_LOGS_AVAILABLE android.app.action.NETWORK_LOGS_AVAILABLE
ACTION_NEW_PICTURE android.hardware.action.NEW_PICTURE
ACTION_NEW_VIDEO android.hardware.action.NEW_VIDEO
ACTION_NEW_VOICEMAIL android.intent.action.NEW_VOICEMAIL
ACTION_NEXT_ALARM_CLOCK_CHANGED android.app.action.NEXT_ALARM_CLOCK_CHANGED
ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED android.app.action.NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED
ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED android.app.action.NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED
ACTION_NOTIFICATION_CLICKED android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED
ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED android.app.action.NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED
ACTION_NOTIFICATION_POLICY_CHANGED android.app.action.NOTIFICATION_POLICY_CHANGED
ACTION_NOTIFY_CARRIER_SETUP_INCOMPLETE android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE
ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
ACTION_PACKAGE_ADDED android.intent.action.PACKAGE_ADDED
ACTION_PACKAGE_CHANGED android.intent.action.PACKAGE_CHANGED
ACTION_PACKAGE_DATA_CLEARED android.intent.action.PACKAGE_DATA_CLEARED
ACTION_PACKAGE_FIRST_LAUNCH android.intent.action.PACKAGE_FIRST_LAUNCH
ACTION_PACKAGE_FULLY_REMOVED android.intent.action.PACKAGE_FULLY_REMOVED
ACTION_PACKAGE_NEEDS_VERIFICATION android.intent.action.PACKAGE_NEEDS_VERIFICATION
ACTION_PACKAGE_REMOVED android.intent.action.PACKAGE_REMOVED
ACTION_PACKAGE_REPLACED android.intent.action.PACKAGE_REPLACED
ACTION_PACKAGE_RESTARTED android.intent.action.PACKAGE_RESTARTED
ACTION_PACKAGE_VERIFIED android.intent.action.PACKAGE_VERIFIED
ACTION_PACKAGES_SUSPENDED android.intent.action.PACKAGES_SUSPENDED
ACTION_PACKAGES_UNSUSPENDED android.intent.action.PACKAGES_UNSUSPENDED
ACTION_PAIRING_REQUEST android.bluetooth.device.action.PAIRING_REQUEST
ACTION_PASSWORD_CHANGED android.app.action.ACTION_PASSWORD_CHANGED
ACTION_PASSWORD_EXPIRING android.app.action.ACTION_PASSWORD_EXPIRING
ACTION_PASSWORD_FAILED android.app.action.ACTION_PASSWORD_FAILED
ACTION_PASSWORD_SUCCEEDED android.app.action.ACTION_PASSWORD_SUCCEEDED
ACTION_PERMISSION_RESPONSE_RECEIVED android.content.action.PERMISSION_RESPONSE_RECEIVED
ACTION_PHONE_ACCOUNT_REGISTERED android.telecom.action.PHONE_ACCOUNT_REGISTERED
ACTION_PHONE_ACCOUNT_REGISTERED android.telecom.action.PHONE_ACCOUNT_UNREGISTERED
ACTION_PHONE_STATE_CHANGED android.intent.action.PHONE_STATE
ACTION_PLAYING_STATE_CHANGED android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
ACTION_POWER_CONNECTED android.intent.action.ACTION_POWER_CONNECTED
ACTION_POWER_DISCONNECTED android.intent.action.ACTION_POWER_DISCONNECTED
ACTION_POWER_SAVE_MODE_CHANGED android.os.action.POWER_SAVE_MODE_CHANGED
ACTION_PROFILE_OWNER_CHANGED android.app.action.PROFILE_OWNER_CHANGED
ACTION_PROFILE_PROVISIONING_COMPLETE android.app.action.PROFILE_PROVISIONING_COMPLETE
ACTION_PROVIDER_CHANGED android.intent.action.PROVIDER_CHANGED
ACTION_QUERY_KEYBOARD_LAYOUTS android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
ACTION_REBOOT android.intent.action.REBOOT
ACTION_REFRESH_SUBSCRIPTION_PLANS android.telephony.action.REFRESH_SUBSCRIPTION_PLANS
ACTION_REQUEST_PERMISSION android.content.action.REQUEST_PERMISSION
ACTION_SCAN_MODE_CHANGED android.bluetooth.adapter.action.SCAN_MODE_CHANGED
ACTION_SCO_AUDIO_STATE_UPDATED android.media.ACTION_SCO_AUDIO_STATE_UPDATED
ACTION_SCREEN_OFF android.intent.action.SCREEN_OFF
ACTION_SCREEN_ON android.intent.action.SCREEN_ON
ACTION_SECRET_CODE android.telephony.action.SECRET_CODE
ACTION_SESSION_COMMITTED android.content.pm.action.SESSION_COMMITTED
ACTION_SESSION_UPDATED android.content.pm.action.SESSION_UPDATED
ACTION_SHOW_MISSED_CALLS_NOTIFICATION android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION
ACTION_SHOW_VOICEMAIL_NOTIFICATION android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION
ACTION_SHUTDOWN android.intent.action.ACTION_SHUTDOWN
ACTION_SPEAKERPHONE_STATE_CHANGED android.media.action.SPEAKERPHONE_STATE_CHANGED
ACTION_STATE_CHANGED android.bluetooth.adapter.action.STATE_CHANGED
ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED android.telephony.action.SUBSCRIPTION_CARRIER_IDENTITY_CHANGED
ACTION_SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED android.telephony.action.SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED
ACTION_SYNC_VOICEMAIL android.provider.action.SYNC_VOICEMAIL
ACTION_SYSTEM_UPDATE_POLICY_CHANGED android.app.action.SYSTEM_UPDATE_POLICY_CHANGED
ACTION_TIME_CHANGED android.intent.action.TIME_SET
ACTION_TIME_TICK android.intent.action.TIME_TICK
ACTION_TIMEZONE_CHANGED android.intent.action.TIMEZONE_CHANGED
ACTION_TRANSACTION_DETECTED android.nfc.action.TRANSACTION_DETECTED
ACTION_TRUST_STORE_CHANGED android.security.action.TRUST_STORE_CHANGED
ACTION_TTS_DATA_INSTALLED android.speech.tts.engine.TTS_DATA_INSTALLED
ACTION_UID_REMOVED android.intent.action.UID_REMOVED
ACTION_USB_ACCESSORY_ATTACHED android.hardware.usb.action.USB_ACCESSORY_ATTACHED
ACTION_USB_ACCESSORY_DETACHED android.hardware.usb.action.USB_ACCESSORY_DETACHED
ACTION_USB_DEVICE_ATTACHED android.hardware.usb.action.USB_DEVICE_ATTACHED
ACTION_USB_DEVICE_DETACHED android.hardware.usb.action.USB_DEVICE_DETACHED
ACTION_USER_BACKGROUND android.intent.action.USER_BACKGROUND
ACTION_USER_FOREGROUND android.intent.action.USER_FOREGROUND
ACTION_USER_INITIALIZE android.intent.action.USER_INITIALIZE
ACTION_USER_PRESENT android.intent.action.USER_PRESENT
ACTION_USER_UNLOCKED android.intent.action.USER_UNLOCKED
ACTION_UUID android.bluetooth.device.action.UUID
ACTION_VENDOR_SPECIFIC_HEADSET_EVENT android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
ACTION_VIEW_DOWNLOADS android.intent.action.VIEW_DOWNLOADS
ACTION_WIFI_AWARE_STATE_CHANGED android.net.wifi.aware.action.WIFI_AWARE_STATE_CHANGED
ACTION_WIFI_NETWORK_SUGGESTION_POST_CONNECTION android.net.wifi.action.WIFI_NETWORK_SUGGESTION_POST_CONNECTION
ACTION_WIFI_RTT_STATE_CHANGED android.net.wifi.rtt.action.WIFI_RTT_STATE_CHANGED
CONTENT_CHANGED_ACTION android.intent.action.CONTENT_CHANGED
DATA_SMS_RECEIVED_ACTION android.intent.action.DATA_SMS_RECEIVED
INTENT_ACTION_SEARCH_SETTINGS_CHANGED android.search.action.SETTINGS_CHANGED
INTENT_ACTION_SEARCHABLES_CHANGED android.search.action.SEARCHABLES_CHANGED
INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED android.search.action.GLOBAL_SEARCH_ACTIVITY_CHANGED
PROXY_CHANGE_ACTION android.intent.action.PROXY_CHANGE