ImaServerSideAdInsertionMediaSource.AdsLoader.State


public class ImaServerSideAdInsertionMediaSource.AdsLoader.State implements Bundleable


The state of the AdsLoader that can be used when resuming from the background.

Summary

Constants

static final Bundleable.Creator<ImaServerSideAdInsertionMediaSource.AdsLoader.State>

This field is deprecated.

Use fromBundle instead.

Public methods

boolean
static ImaServerSideAdInsertionMediaSource.AdsLoader.State

Restores a State from a Bundle.

int
Bundle

Returns a Bundle representing the information stored in this object.

Constants

CREATOR

public static final Bundleable.Creator<ImaServerSideAdInsertionMediaSource.AdsLoader.StateCREATOR

Object that can restore AdsLoader.State from a Bundle.

Public methods

equals

public boolean equals(@Nullable Object o)

fromBundle

public static ImaServerSideAdInsertionMediaSource.AdsLoader.State fromBundle(Bundle bundle)

Restores a State from a Bundle.

hashCode

public int hashCode()

toBundle

public Bundle toBundle()

Returns a Bundle representing the information stored in this object.