MediaCodec.CryptoInfo.Set 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 subsample count, clear/encrypted sizes, key, IV and mode fields of
a MediaCodec.CryptoInfo
instance.
[Android.Runtime.Register("set", "(I[I[I[B[BI)V", "")]
public void Set (int newNumSubSamples, int[] newNumBytesOfClearData, int[] newNumBytesOfEncryptedData, byte[] newKey, byte[] newIV, Android.Media.MediaCodecCryptoMode newMode);
[<Android.Runtime.Register("set", "(I[I[I[B[BI)V", "")>]
member this.Set : int * int[] * int[] * byte[] * byte[] * Android.Media.MediaCodecCryptoMode -> unit
Parameters
- newNumSubSamples
- Int32
- newNumBytesOfClearData
- Int32[]
- newNumBytesOfEncryptedData
- Int32[]
- newKey
- Byte[]
- newIV
- Byte[]
- newMode
- MediaCodecCryptoMode
- Attributes
Remarks
Set the subsample count, clear/encrypted sizes, key, IV and mode fields of a MediaCodec.CryptoInfo
instance.
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.