Class BlocksInfo

com.yandex.mobile.ads.video.models.blocksinfo

java.lang.Object ⇽ BlocksInfo

public class BlocksInfo

This class contains information about a VAST ad block and general parameters for subsequent block loads.

Methods

int describeContents()
boolean equals(final Object o)
List< Block > getBlocks()

Returns a list of blocks.

int getBufferEmptyLimit()

Returns the maximum allowed number of buffer flushes.

int getBufferFullTimeout()

Returns the waiting time for filling the buffer.

String getCategoryId()

Returns the ID of the site category in the Partner interface.

String getCategoryName()

Returns the name of the site category in the Partner interface.

int getFirstBuffTimeout()

Returns the waiting time for initial buffering.

String getPartnerId()

Returns the partner ID.

String getSessionId()

Returns the session ID.

String getSkin()

Returns a link to get the player skin file.

int getSkinTimeout()

Returns the waiting time for the player skin.

int getSkipDelay()

Returns the number of seconds that must pass from the beginning of the ad to the display of the "Skip" button.

String getTitle()

Returns the title of the player.

int getVastTimeout()

Returns the waiting time of the VAST standard in milliseconds.

int getVersion()

Returns the version of the ad block.

int getVideoTimeout()

Returns the waiting time for a video from the CDN, in milliseconds.

int getVpaidTimeout()

Returns the waiting time for the VPAID/MRAID container.

int getWrapperMaxCount()

Returns the maximum number of nested wrappers.

int getWrapperTimeout()

Returns the waiting time for all wrappers.

int hashCode()
boolean isVPaidEnabled()

Returns a flag indicating whether the VPAID/MRAID standard is available on the ad platform.

boolean showSkipTimeLeft()

Returns a flag for displaying the timer enabling the user to skip ads.

boolean showTimeLeft()

Returns a flag for displaying the time left until the end of the ad.

String toString()
void writeToParcel(final Parcel dest, final int flags)

Fields

final Creator< BlocksInfo > CREATOR

Method Detail

describeContents

public int describeContents ()

equals

public boolean equals (final Object o)

getBlocks

public List< Block > getBlocks ()

Returns a list of blocks.

Returns:

A list of objects of the BlocksInfo class.

getBufferEmptyLimit

public int getBufferEmptyLimit ()

Returns the maximum allowed number of buffer flushes.

Returns:

The maximum allowed number of buffer flushes.

getBufferFullTimeout

public int getBufferFullTimeout ()

Returns the waiting time for filling the buffer.

Returns:

Waiting time for filling the buffer.

getCategoryId

public String getCategoryId ()

Returns the ID of the site category in the Partner interface.

Returns:

ID of the site category in the Partner interface.

getCategoryName

public String getCategoryName ()

Returns the name of the site category in the Partner interface.

Returns:

Name of the site category in the Partner interface.

getFirstBuffTimeout

public int getFirstBuffTimeout ()

Returns the waiting time for initial buffering.

Returns:

Waiting time for initial buffering.

getPartnerId

public String getPartnerId ()

Returns the partner ID.

Returns:

Partner ID.

getSessionId

public String getSessionId ()

Returns the session ID.

Returns:

Session ID.

getSkin

public String getSkin ()

Returns a link to get the player skin file.

Returns:

Link to get the player skin file.

getSkinTimeout

public int getSkinTimeout ()

Returns the waiting time for the player skin.

Returns:

Waiting time for the player skin.

getSkipDelay

public int getSkipDelay ()

Returns the number of seconds that must pass from the beginning of the ad to the display of the "Skip" button.

Returns:

The number of seconds that must pass from the beginning of the ad to the display of the "Skip" button.

getTitle

public String getTitle ()

Returns the title of the player.

Returns:

The title of the player.

getVastTimeout

public int getVastTimeout ()

Returns the waiting time of the VAST standard in milliseconds.

Returns:

Waiting time of the VAST standard in milliseconds.

getVersion

public int getVersion ()

Returns the version of the ad block.

Returns:

Version of the ad block.

getVideoTimeout

public int getVideoTimeout ()

Returns the waiting time for a video from the CDN, in milliseconds.

Returns:

Waiting time for a video from the CDN, in milliseconds.

getVpaidTimeout

public int getVpaidTimeout ()

Returns the waiting time for the VPAID/MRAID container.

Returns:

Waiting time for the VPAID/MRAID container.

getWrapperMaxCount

public int getWrapperMaxCount ()

Returns the maximum number of nested wrappers.

Returns:

The maximum number of nested wrappers.

getWrapperTimeout

public int getWrapperTimeout ()

Returns the waiting time for all wrappers.

Returns:

Waiting time for all wrappers.

hashCode

public int hashCode ()

isVPaidEnabled

public boolean isVPaidEnabled ()

Returns a flag indicating whether the VPAID/MRAID standard is available on the ad platform.

Returns:

Flag that indicates whether the VPAID/MRAID standard is available on the ad platform.

showSkipTimeLeft

public boolean showSkipTimeLeft ()

Returns a flag for displaying the timer enabling the user to skip ads.

Returns:

Flag for displaying the timer enabling the user to skip ads.

showTimeLeft

public boolean showTimeLeft ()

Returns a flag for displaying the time left until the end of the ad.

Returns:

Flag for displaying the time left until the end of the ad.

toString

public String toString ()

writeToParcel

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