AudioManager.ActionHdmiAudioPlug Field

Definition

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

[Android.Runtime.Register("ACTION_HDMI_AUDIO_PLUG")]
public const string ActionHdmiAudioPlug;
[<Android.Runtime.Register("ACTION_HDMI_AUDIO_PLUG")>]
val mutable ActionHdmiAudioPlug : string

Field Value

Attributes

Remarks

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

The intent will have the following extra values: #EXTRA_AUDIO_PLUG_STATE, #EXTRA_MAX_CHANNEL_COUNT, #EXTRA_ENCODINGS.

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

Java documentation for android.media.AudioManager.ACTION_HDMI_AUDIO_PLUG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to