HlsInterstitialsAdsLoader.AdsResumptionState


class HlsInterstitialsAdsLoader.AdsResumptionState


The state of the given ads ID to resume playback at the given AdPlaybackState.

This state object can be bundled and unbundled while preserving an ads ID of type String.

Summary

Public constructors

AdsResumptionState(adsId: String!, adPlaybackState: AdPlaybackState!)

Creates a new instance.

Public properties

String!

The ads ID

Public constructors

AdsResumptionState

AdsResumptionState(adsId: String!, adPlaybackState: AdPlaybackState!)

Creates a new instance.

Parameters
adsId: String!

The ads ID of the playback state.

adPlaybackState: AdPlaybackState!

The AdPlaybackState with the given adsId.

Throws
java.lang.IllegalArgumentException

Thrown if the passed in adsId is not equal to adsId.

Public functions

equals

fun equals(o: Any?): Boolean

fromBundle

java-static fun fromBundle(bundle: Bundle!): HlsInterstitialsAdsLoader.AdsResumptionState!

hashCode

fun hashCode(): Int

toBundle

fun toBundle(): Bundle!

Public properties

adsId

val adsIdString!

The ads ID