Added in API level 31
Summary:
Methods
| Inherited Methods
MediaDrm.PlaybackComponent
public
final
class
MediaDrm.PlaybackComponent
extends Object
java.lang.Object | |
↳ | android.media.MediaDrm.PlaybackComponent |
This class contains the Drm session ID and log session ID
Summary
Public methods | |
---|---|
LogSessionId
|
getLogSessionId()
Returns the |
void
|
setLogSessionId(LogSessionId logSessionId)
Sets the |
Inherited methods | |
---|---|
Public methods
getLogSessionId
Added in API level 31
public LogSessionId getLogSessionId ()
Returns the LogSessionId
.
Returns | |
---|---|
LogSessionId |
This value cannot be null . |
setLogSessionId
Added in API level 31
public void setLogSessionId (LogSessionId logSessionId)
Sets the LogSessionId
.
The implementation of this method varies by DRM provider; Please refer to your DRM provider documentation for more details on this method.
Parameters | |
---|---|
logSessionId |
LogSessionId : This value cannot be null . |
Throws | |
---|---|
UnsupportedOperationException |
when the vendor plugin does not implement this method |