SimpleBasePlayer.PeriodData


protected class SimpleBasePlayer.PeriodData


Data describing the properties of a period inside a MediaItemData.

Summary

Nested types

A builder for PeriodData objects.

Public functions

SimpleBasePlayer.PeriodData.Builder!

Returns a Builder pre-populated with the current values.

Boolean
equals(o: Any?)
Int

Public properties

AdPlaybackState!

The AdPlaybackState of the period, or NONE if there are no ads.

Long

The total duration of the period, in microseconds, or TIME_UNSET if unknown.

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.

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

Public properties

adPlaybackState

val adPlaybackStateAdPlaybackState!

The AdPlaybackState of the period, or NONE if there are no ads.

durationUs

val durationUsLong

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 isPlaceholderBoolean

Whether this period contains placeholder information because the real information has yet to be loaded.

uid

val uidAny!

The unique identifier of the period within its media item.