ACTION_HDMI_AUDIO_PLUG constant

String const ACTION_HDMI_AUDIO_PLUG

Broadcast Action: A sticky broadcast indicating an HDMI cable was plugged or unplugged.

The intent will have the following extra values: {@link #EXTRA_AUDIO_PLUG_STATE}, {@link #EXTRA_MAX_CHANNEL_COUNT}, {@link #EXTRA_ENCODINGS}.

It can only be received by explicitly registering for it with {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)}.

Implementation

static const String ACTION_HDMI_AUDIO_PLUG =
    "android.media.action.HDMI_AUDIO_PLUG";