Sdílet prostřednictvím


AudioDeviceInfo.GetEncapsulationModes Method

Definition

Returns an array of supported encapsulation modes for the device.

[Android.Runtime.Register("getEncapsulationModes", "()[I", "", ApiSince=30)]
public int[] GetEncapsulationModes ();
[<Android.Runtime.Register("getEncapsulationModes", "()[I", "", ApiSince=30)>]
member this.GetEncapsulationModes : unit -> int[]

Returns

Int32[]

An array of supported encapsulation modes for the device. This may be an empty array if no encapsulation modes are supported.

Attributes

Remarks

Returns an array of supported encapsulation modes for the device.

The array can include any of the AudioTrack encapsulation modes, e.g. AudioTrack#ENCAPSULATION_MODE_ELEMENTARY_STREAM.

Java documentation for android.media.AudioDeviceInfo.getEncapsulationModes().

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