Class AdRequestError

com.yandex.mobile.ads

public  class  AdRequestError 

The class contains data about errors that may occur during the execution of an ad request.

Nested Classes

Constructors

AdRequestError(final int code, final String description)

Creates a new object of the AdRequestError class with the error code and description.

Methods

int getCode()

Returns the error code from the AdRequestError.Code class.

String getDescription()

Returns the error description.

String toString()

Constructor Detail

AdRequestError

public AdRequestError (final int code, final String description)

Creates a new object of the AdRequestError class with the error code and description.

Parameters:
code

Error code AdRequestError.Code.

description

Error description.

Method Detail

getCode

public int getCode ()

Returns the error code from the AdRequestError.Code class.

Returns:

Error code from the AdRequestError.Code class.

getDescription

public String getDescription ()

Returns the error description.

Returns:

Error description.

toString

public String toString ()