MediaDrm.OpenSession 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.
Overloads
| OpenSession() |
Open a new session with the MediaDrm object. |
| OpenSession(Int32) |
Open a new session at a requested security level. |
OpenSession()
Open a new session with the MediaDrm object.
[Android.Runtime.Register("openSession", "()[B", "")]
public byte[] OpenSession ();
[<Android.Runtime.Register("openSession", "()[B", "")>]
member this.OpenSession : unit -> byte[]
Returns
- Byte[]
- Attributes
Exceptions
if provisioning is needed
if required resources are in use
Remarks
Java documentation for android.media.MediaDrm.openSession().
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
OpenSession(Int32)
Open a new session at a requested security level.
[Android.Runtime.Register("openSession", "(I)[B", "", ApiSince=28)]
public byte[] OpenSession (int level);
[<Android.Runtime.Register("openSession", "(I)[B", "", ApiSince=28)>]
member this.OpenSession : int -> byte[]
Parameters
- level
- Int32
the new security level
Returns
- Byte[]
- Attributes
Remarks
Java documentation for android.media.MediaDrm.openSession(int).
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.