Condividi tramite


AudioManager.ExtraEncodings Field

Definition

Extra used in #ACTION_HDMI_AUDIO_PLUG to define the audio encodings supported by the connected HDMI device.

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

Field Value

Attributes

Remarks

Extra used in #ACTION_HDMI_AUDIO_PLUG to define the audio encodings supported by the connected HDMI device. The corresponding array of encoding values is only available when the device is plugged in (as expressed by #EXTRA_AUDIO_PLUG_STATE). Encoding values are defined in AudioFormat (for instance see AudioFormat#ENCODING_PCM_16BIT). Use android.content.Intent#getIntArrayExtra(String) to retrieve the encoding values.

Java documentation for android.media.AudioManager.EXTRA_ENCODINGS.

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