AdInspectorError.ErrorCode

enum AdInspectorError.ErrorCode : Enum


Summary

Enum Values

ALREADY_OPEN

Ad inspector cannot be opened because it is already open.

FAILED_TO_LOAD

Ad inspector failed to load.

INTERNAL_ERROR

Ad inspector had an internal error.

NOT_IN_TEST_MODE

Ad inspector cannot be opened because the device is not in test mode.

Public functions

AdInspectorError.ErrorCode
valueOf(value: String)

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

Array<AdInspectorError.ErrorCode>

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

Public properties

EnumEntries<AdInspectorError.ErrorCode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Int

Enum Values

ALREADY_OPEN

val AdInspectorError.ErrorCode.ALREADY_OPENAdInspectorError.ErrorCode

Ad inspector cannot be opened because it is already open.

FAILED_TO_LOAD

val AdInspectorError.ErrorCode.FAILED_TO_LOADAdInspectorError.ErrorCode

Ad inspector failed to load.

INTERNAL_ERROR

val AdInspectorError.ErrorCode.INTERNAL_ERRORAdInspectorError.ErrorCode

Ad inspector had an internal error.

NOT_IN_TEST_MODE

val AdInspectorError.ErrorCode.NOT_IN_TEST_MODEAdInspectorError.ErrorCode

Ad inspector cannot be opened because the device is not in test mode. See https://developers.google.com/admob/android/test-ads#enable_test_devices for more information.

Public functions

valueOf

fun valueOf(value: String): AdInspectorError.ErrorCode

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.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<AdInspectorError.ErrorCode>

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.

Public properties

entries

val entriesEnumEntries<AdInspectorError.ErrorCode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

value

val valueInt