AdError.AdErrorType

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 functions

java-static AdError.AdErrorType!
valueOf(name: String!)

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

java-static Array<AdError.AdErrorType!>!

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

Enum Values

LOAD

val AdError.AdErrorType.LOADAdError.AdErrorType

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

val AdError.AdErrorType.PLAYAdError.AdErrorType

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

Public functions

valueOf

java-static fun valueOf(name: String!): AdError.AdErrorType!

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

java-static fun values(): Array<AdError.AdErrorType!>!

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
Array<AdError.AdErrorType!>!

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