Interface VideoAdError.Code

com.yandex.mobile.ads.video

public interface VideoAdError.Code

This class contains error codes.

Fields

final int CONNECTION_ERROR

Connection error when sending a request to the server.

final int INTERNAL_ERROR

Unexpected error.

final int NO_AD_ERROR

The requested ad is not available.

final int RETRIABLE_ERROR

The request cannot be processed now.

Field Detail

CONNECTION_ERROR

public static CONNECTION_ERROR = 2

Connection error when sending a request to the server.

Try again later when the connection is restored.

INTERNAL_ERROR

public static INTERNAL_ERROR = 1

Unexpected error.

You can get the error description using VideoAdError#getDescription(). You can get the server response using VideoAdError#getRawResponse().

NO_AD_ERROR

public static NO_AD_ERROR = 3

The requested ad is not available.

RETRIABLE_ERROR

public static RETRIABLE_ERROR = 4

The request cannot be processed now.

Try again later.