Lingua

MediaCodec.CryptoInfo.Pattern.Set(Int32, Int32) Method

Definition

Set the number of blocks to encrypt and skip in a sample encryption pattern.

[Android.Runtime.Register("set", "(II)V", "", ApiSince=24)]
public void Set(int blocksToEncrypt, int blocksToSkip);
[<Android.Runtime.Register("set", "(II)V", "", ApiSince=24)>]
member this.Set : int * int -> unit

Parameters

blocksToEncrypt
Int32
blocksToSkip
Int32
Attributes

Remarks

Set the number of blocks to encrypt and skip in a sample encryption pattern. If both parameters are zero, pattern encryption is inoperative.

Android reference for android.media.MediaCodec.CryptoInfo.Pattern.set.

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