MediaExtractor.GetSampleCryptoInfo(MediaCodec+CryptoInfo) 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.
If the sample flags indicate that the current sample is at least partially encrypted, this call returns relevant information about the structure of the sample data required for decryption.
[Android.Runtime.Register("getSampleCryptoInfo", "(Landroid/media/MediaCodec$CryptoInfo;)Z", "")]
public bool GetSampleCryptoInfo (Android.Media.MediaCodec.CryptoInfo info);
[<Android.Runtime.Register("getSampleCryptoInfo", "(Landroid/media/MediaCodec$CryptoInfo;)Z", "")>]
member this.GetSampleCryptoInfo : Android.Media.MediaCodec.CryptoInfo -> bool
Parameters
The android.media.MediaCodec.CryptoInfo structure to be filled in.
Returns
true iff the sample flags contain #SAMPLE_FLAG_ENCRYPTED
- Attributes
Remarks
Java documentation for android.media.MediaExtractor.getSampleCryptoInfo(android.media.CryptoInfo)
.
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.