AudioDeviceInfo.GetEncapsulationModes Method
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.
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
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.