Class Vmap

com.yandex.mobile.ads.video.models.vmap

java.lang.Object ⇽ Vmap

public class Vmap

This class contains the VMAP version, list of AdBreak objects, and additional parameters to configure an ad break.

Methods

int describeContents()
List< AdBreak > getAdBreaks()

Returns the list of AdBreak objects.

List< Extension > getExtensions()

Returns the list of Extension objects.

String getVersion()

Returns the VMAP version.

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

Fields

final Parcelable.Creator< Vmap > CREATOR

Method Detail

describeContents

public int describeContents ()

getAdBreaks

public List< AdBreak > getAdBreaks ()

Returns the list of AdBreak objects.

Returns:

List of AdBreak objects.

getExtensions

public List< Extension > getExtensions ()

Returns the list of Extension objects.

Returns:

List of Extension objects.

getVersion

public String getVersion ()

Returns the VMAP version.

Returns:

VMAP version.

writeToParcel

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

Field Detail

CREATOR

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