Language

MediaCodec.CryptoInfo.Pattern(Int32, Int32) Constructor

Definition

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

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=24)]
public Pattern(int blocksToEncrypt, int blocksToSkip);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=24)>]
new Android.Media.MediaCodec.CryptoInfo.Pattern : int * int -> Android.Media.MediaCodec.CryptoInfo.Pattern

Parameters

blocksToEncrypt
Int32

The encrypted-block count in each repeating encryption pattern.

blocksToSkip
Int32

The clear-block count following the encrypted blocks in each pattern.

Attributes

Remarks

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

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

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