SimpleBasePlayer.PeriodData
class SimpleBasePlayer.PeriodData
Data describing the properties of a period inside a MediaItemData.
Summary
Nested types |
|---|
|
A builder for |
Public functions |
|
|---|---|
SimpleBasePlayer.PeriodData.Builder! |
Returns a |
Boolean |
|
Int |
hashCode() |
Public properties |
|
|---|---|
AdPlaybackState! |
The |
Long |
The total duration of the period, in microseconds, or |
Boolean |
Whether this period contains placeholder information because the real information has yet to be loaded. |
Any! |
The unique identifier of the period within its media item. |
Public functions
buildUpon
fun buildUpon(): SimpleBasePlayer.PeriodData.Builder!
Returns a Builder pre-populated with the current values.
Public properties
adPlaybackState
val adPlaybackState: AdPlaybackState!
The AdPlaybackState of the period, or NONE if there are no ads.
durationUs
val durationUs: Long
The total duration of the period, in microseconds, or TIME_UNSET if unknown. Only the last period in a media item can have an unknown duration.
isPlaceholder
val isPlaceholder: Boolean
Whether this period contains placeholder information because the real information has yet to be loaded.