AudioManager.ActionHdmiAudioPlug Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.