MediaExtractor.CasInfo.GetPrivateData 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.
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
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.