Interface MediaEncryptedEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface MediaEncryptedEvent implements PlayerEvent<E>
-
-
Method Summary
Modifier and Type Method Description abstract double
getCurrentTime()
The time at which the media is encrypted. abstract String
getInitData()
Get a textual representation of the data that was encrypted. abstract String
getInitDataType()
Get a textual representation of the type of data that was encrypted. -
-
Method Detail
-
getCurrentTime
abstract double getCurrentTime()
The time at which the media is encrypted.
- Returns:
The time, in seconds.
-
getInitData
@NonNull() abstract String getInitData()
Get a textual representation of the data that was encrypted.
- Returns:
The initial data. (NonNull)
-
getInitDataType
@NonNull() abstract String getInitDataType()
Get a textual representation of the type of data that was encrypted.
- Returns:
The initial data type. (NonNull)
-
-
-
-