Udostępnij za pośrednictwem


MediaExtractor.CasInfo.GetPrivateData Method

Definition

Retrieves the private data in the CA_Descriptor associated with a track.

[Android.Runtime.Register("getPrivateData", "()[B", "", ApiSince=29)]
public byte[]? GetPrivateData ();
[<Android.Runtime.Register("getPrivateData", "()[B", "", ApiSince=29)>]
member this.GetPrivateData : unit -> byte[]

Returns

Byte[]

a byte array containing the private data. A null return value indicates that the private data is unavailable. An empty array, on the other hand, indicates that the private data is empty (zero in length).

Attributes

Remarks

Retrieves the private data in the CA_Descriptor associated with a track. Some CAS systems may need this to initialize the CAS plugin object. This private data can only be retrieved before a valid MediaCas object is set on the extractor.

Java documentation for android.media.MediaExtractor.CasInfo.getPrivateData().

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