Class Extension

com.yandex.mobile.ads.video.models.common

java.lang.Object ⇽ Extension

public class Extension

This class contains additional parameters for setting up an ad break.

Constructors

Extension(@NonNull final Parcel in)

Methods

int describeContents()
String getType()

Returns the parameter type.

String getValue()

Returns the parameter value.

void writeToParcel(@NonNull final Parcel dest, final int flags)

Fields

final Parcelable.Creator< Extension > CREATOR

Constructor Detail

Extension

protected Extension (@NonNull final Parcel in)

Method Detail

describeContents

public int describeContents ()

getType

public String getType ()

Returns the parameter type.

Returns:

Parameter type.

getValue

public String getValue ()

Returns the parameter value.

Returns:

Parameter value.

writeToParcel

public void writeToParcel (@NonNull final Parcel dest, final int flags)

Field Detail

CREATOR

public static CREATOR = new Parcelable.Creator<Extension>() { @Override public Extension createFromParcel(@NonNull final Parcel source) { return new Extension(source); } @Override public Extension[] newArray(final int size) { return new Extension[size]; } }