AdPlaybackState.SkipInfo


class AdPlaybackState.SkipInfo


Information about skipping an ad.

Summary

Public constructors

SkipInfo(skipOffsetUs: Long, skipDurationUs: Long, labelId: String?)

Creates an instance.

Public functions

Boolean
equals(o: Any?)
java-static AdPlaybackState.SkipInfo!
fromBundle(bundle: Bundle!)

Restores a SkipInfo from a Bundle.

Int
Bundle!

Returns a Bundle representing the information stored in this object.

Public properties

String?

The identifier for the label to be displayed in the UI, or null if unset.

Long

The duration for which the skip control should be shown, in microseconds, or TIME_UNSET if it should be shown until the ad ends.

Long

The time after which the ad is skippable, in microseconds.

Public constructors

SkipInfo

SkipInfo(skipOffsetUs: Long, skipDurationUs: Long, labelId: String?)

Creates an instance.

Public functions

equals

fun equals(o: Any?): Boolean

fromBundle

java-static fun fromBundle(bundle: Bundle!): AdPlaybackState.SkipInfo!

Restores a SkipInfo from a Bundle.

hashCode

fun hashCode(): Int

toBundle

fun toBundle(): Bundle!

Returns a Bundle representing the information stored in this object.

Public properties

labelId

val labelIdString?

The identifier for the label to be displayed in the UI, or null if unset.

skipDurationUs

val skipDurationUsLong

The duration for which the skip control should be shown, in microseconds, or TIME_UNSET if it should be shown until the ad ends.

skipOffsetUs

val skipOffsetUsLong

The time after which the ad is skippable, in microseconds.