MediaCodec.QueueRequest.SetMultiFrameEncryptedLinearBlock 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.
Set an encrypted linear block to this queue request.
[Android.Runtime.Register("setMultiFrameEncryptedLinearBlock", "(Landroid/media/MediaCodec$LinearBlock;Ljava/util/ArrayDeque;Ljava/util/ArrayDeque;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=35)]
public Android.Media.MediaCodec.QueueRequest SetMultiFrameEncryptedLinearBlock(Android.Media.MediaCodec.LinearBlock block, Java.Util.ArrayDeque bufferInfos, Java.Util.ArrayDeque cryptoInfos);
[<Android.Runtime.Register("setMultiFrameEncryptedLinearBlock", "(Landroid/media/MediaCodec$LinearBlock;Ljava/util/ArrayDeque;Ljava/util/ArrayDeque;)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=35)>]
member this.SetMultiFrameEncryptedLinearBlock : Android.Media.MediaCodec.LinearBlock * Java.Util.ArrayDeque * Java.Util.ArrayDeque -> Android.Media.MediaCodec.QueueRequest
Parameters
- block
- MediaCodec.LinearBlock
The linear block object. This value cannot be null.
- bufferInfos
- ArrayDeque
ArrayDeque of MediaCodec.BufferInfo that describes the contents in the buffer. The ArrayDeque and the BufferInfo objects provided can be recycled by the caller for re-use. This value cannot be null.
- cryptoInfos
- ArrayDeque
ArrayDeque of MediaCodec.CryptoInfo that describes the structure of the encrypted input samples. The ArrayDeque and the BufferInfo objects provided can be recycled by the caller for re-use. This value cannot be null.
Returns
this object. This value cannot be null.
- Attributes
Remarks
Set an encrypted linear block to this queue request. Exactly one buffer must be set for a queue request before calling queue(). The block can contain multiple access units and if present should be laid out contiguously and without gaps.
Android reference for android.media.MediaCodec.QueueRequest.setMultiFrameEncryptedLinearBlock.
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.