共用方式為


AudioDeviceInfo.GetEncapsulationMetadataTypes Method

Definition

Returns an array of supported encapsulation metadata types for the device.

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

Returns

Int32[]

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

Attributes

Remarks

Returns an array of supported encapsulation metadata types for the device.

The metadata type returned should be allowed for all encapsulation modes supported by the device. Some metadata types may apply only to certain compressed stream formats, the returned list is the union of subsets.

The array can include any of AudioTrack#ENCAPSULATION_METADATA_TYPE_FRAMEWORK_TUNER, AudioTrack#ENCAPSULATION_METADATA_TYPE_DVB_AD_DESCRIPTOR.

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

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