MediaCas.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
| Name | Description |
|---|---|
| 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. |
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
used for the created session. Value is one of the following: SESSION_USAGE_LIVE SESSION_USAGE_PLAYBACK SESSION_USAGE_RECORD SESSION_USAGE_TIMESHIFT
- scramblingMode
- Int32
used for the created session. Value is one of the following: SCRAMBLING_MODE_RESERVED SCRAMBLING_MODE_DVB_CSA1 SCRAMBLING_MODE_DVB_CSA2 SCRAMBLING_MODE_DVB_CSA3_STANDARD SCRAMBLING_MODE_DVB_CSA3_MINIMAL SCRAMBLING_MODE_DVB_CSA3_ENHANCE SCRAMBLING_MODE_DVB_CISSA_V1 SCRAMBLING_MODE_DVB_IDSA SCRAMBLING_MODE_MULTI2 SCRAMBLING_MODE_AES128 SCRAMBLING_MODE_AES_CBC SCRAMBLING_MODE_AES_ECB SCRAMBLING_MODE_AES_SCTE52 SCRAMBLING_MODE_TDES_ECB SCRAMBLING_MODE_TDES_SCTE52
Returns
session the newly opened session.
- Attributes
Remarks
Android reference 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()
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.