MediaCodec.CryptoInfo.Pattern.Set(Int32, Int32) 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 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.