lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 26

MediaExtractor.CasInfo

public static final class MediaExtractor.CasInfo
extends Object

java.lang.Object
   ↳ android.media.MediaExtractor.CasInfo


Describes the conditional access system used to scramble a track.

Summary

Public methods

MediaCas.Session getSession()

Retrieves the MediaCas.Session associated with a track.

int getSystemId()

Retrieves the system id of the conditional access system.

Inherited methods

Public methods

getSession

added in API level 26
public MediaCas.Session getSession ()

Retrieves the MediaCas.Session associated with a track. The session is needed to initialize a descrambler in order to decode the scrambled track.

Returns
MediaCas.Session a MediaCas.Session object associated with a track.

See also:

getSystemId

added in API level 26
public int getSystemId ()

Retrieves the system id of the conditional access system.

Returns
int CA system id of the CAS used to scramble the track.