Share via


MediaCas.OpenSession Method

Definition

Overloads

OpenSession()

Open a session to descramble one or more streams scrambled by the conditional access system.

OpenSession(Int32, Int32)

Open a session to descramble one or more streams scrambled by the conditional access system.

OpenSession()

Open a session to descramble one or more streams scrambled by the conditional access system.

[Android.Runtime.Register("openSession", "()Landroid/media/MediaCas$Session;", "", ApiSince=26)]
public Android.Media.MediaCas.Session? OpenSession ();
[<Android.Runtime.Register("openSession", "()Landroid/media/MediaCas$Session;", "", ApiSince=26)>]
member this.OpenSession : unit -> Android.Media.MediaCas.Session

Returns

session the newly opened session.

Attributes

Remarks

Java documentation for android.media.MediaCas.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, Int32)

Open a session to descramble one or more streams scrambled by the conditional access system.

[Android.Runtime.Register("openSession", "(II)Landroid/media/MediaCas$Session;", "", ApiSince=30)]
public Android.Media.MediaCas.Session? OpenSession (int sessionUsage, int scramblingMode);
[<Android.Runtime.Register("openSession", "(II)Landroid/media/MediaCas$Session;", "", ApiSince=30)>]
member this.OpenSession : int * int -> Android.Media.MediaCas.Session

Parameters

sessionUsage
Int32
scramblingMode
Int32

Returns

session the newly opened session.

Attributes

Remarks

Java documentation for android.media.MediaCas.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