MediaCrypto(UUID, Byte[]) Constructor

Definition

Instantiate a MediaCrypto object and associate it with a MediaDrm session

[Android.Runtime.Register(".ctor", "(Ljava/util/UUID;[B)V", "")]
public MediaCrypto (Java.Util.UUID uuid, byte[] sessionId);
[<Android.Runtime.Register(".ctor", "(Ljava/util/UUID;[B)V", "")>]
new Android.Media.MediaCrypto : Java.Util.UUID * byte[] -> Android.Media.MediaCrypto

Parameters

uuid
UUID

The UUID of the crypto scheme.

sessionId
Byte[]

The MediaDrm sessionId to associate with this MediaCrypto session. The sessionId may be changed after the MediaCrypto is created using #setMediaDrmSession

Attributes

Exceptions

Remarks

Instantiate a MediaCrypto object and associate it with a MediaDrm session

Java documentation for android.media.MediaCrypto.MediaCrypto(java.util.UUID, byte[]).

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