Package: android.hardware.cas@1.0

IDescramblerBase

interface IDescramblerBase

IDescramblerBase is the API to control the descrambler and is accessible from both Java and native level.

Methods

setMediaCasSession

setMediaCasSession (HidlCasSessionId sessionId)
generates (Status status)

Associate a MediaCas session with this MediaDescrambler instance.

Details
Parameters
sessionId
the id of the session to associate with this descrambler instance.
Generates
status
the status of the call.

requiresSecureDecoderComponent

requiresSecureDecoderComponent (string mime)
generates (bool result)

Query if the scrambling scheme requires the use of a secure decoder to decode data of the given mime type.

Details
Parameters
mime
the mime type of the media data.
Generates
result
whether the descrambler requires a secure decoder.

release

release ()
generates (Status status)

Release the descrambler instance.

Details
Generates
status
the status of the call.