Language

MediaExtractor.CasInfo.Session Property

Definition

Retrieves the MediaCas.Session associated with a track.

public Android.Media.MediaCas.Session? Session { [Android.Runtime.Register("getSession", "()Landroid/media/MediaCas$Session;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getSession", "()Landroid/media/MediaCas$Session;", "", ApiSince=26)>]
member this.Session : Android.Media.MediaCas.Session

Property Value

a MediaCas.Session object associated with a track.

Attributes

Remarks

Retrieves the MediaCas.Session associated with a track. The session is needed to initialize a descrambler in order to decode the scrambled track. The session object can only be retrieved after a valid MediaCas object is set on the extractor.

Android reference for android.media.MediaExtractor.CasInfo.getSession.

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