Class BlocksInfoRequest

com.yandex.mobile.ads.video

public class BlocksInfoRequest

This class contains parameters of the request to get ad blocks.

The request is created using the Builder class.

Nested Classes

Methods

String getCategoryId()

Returns the ID of the site category.

Context getContext()

Returns an object of the Context system class.

String getPartnerId()

Returns the partner ID.

RequestListener< BlocksInfo > getRequestListener()

Returns an object of the RequestListener class.

Method Detail

getCategoryId

public String getCategoryId ()

Returns the ID of the site category.

Returns:

ID of the site category. The default value is 0.

getContext

public Context getContext ()

Returns an object of the Context system class.

Returns:

An object of the Context system class.

getPartnerId

public String getPartnerId ()

Returns the partner ID.

Returns:

Partner ID.

getRequestListener

public RequestListener< BlocksInfo > getRequestListener ()

Returns an object of the RequestListener class.

Returns:

An object of the RequestListener class.