AdError.AdErrorType

public enum AdError.AdErrorType


Specifies when the error was encountered, during either ad loading or playback.

Summary

Enum Values

LOAD

Indicates that the error was encountered when the ad was being loaded.

PLAY

Indicates that the error was encountered after the ad loaded, during ad play.

Public methods

static AdError.AdErrorType

Returns the enum constant of this type with the specified name.

static AdError.AdErrorType[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

LOAD

AdError.AdErrorType AdError.AdErrorType.LOAD

Indicates that the error was encountered when the ad was being loaded. Possible causes: there was no response from the ad server, a malformed ad response was returned, or ad request parameters failed to pass validation.

PLAY

AdError.AdErrorType AdError.AdErrorType.PLAY

Indicates that the error was encountered after the ad loaded, during ad play. Possible causes: ad assets could not be loaded, etc.

Public methods

valueOf

public static AdError.AdErrorType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
AdError.AdErrorType

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static AdError.AdErrorType[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
AdError.AdErrorType[]

an array containing the constants of this enum type, in the order they're declared