IconAdPlacement

enum IconAdPlacement : Enum


An enum specifying the placement of an IconAd.

Summary

Enum Values

BROWSER

Placement in a browser.

FOLDER

Placement in a folder of apps.

HOME

Placement in the default home screen.

LOCKSCREEN

Placement in the lockscreen.

MINUS_ONE_SCREEN

Placement in the minus one screen.

NOTIFICATION

Placement in a notification.

SEARCH

Placement in a search context.

SHARE

Placement in a share context.

STORE

Placement in an app store.

UNSPECIFIED

No placement specified.

Public functions

IconAdPlacement
valueOf(value: String)

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

Array<IconAdPlacement>

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

Public properties

EnumEntries<IconAdPlacement>

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

Int

Enum Values

BROWSER

val IconAdPlacement.BROWSERIconAdPlacement

Placement in a browser.

FOLDER

val IconAdPlacement.FOLDERIconAdPlacement

Placement in a folder of apps.

HOME

val IconAdPlacement.HOMEIconAdPlacement

Placement in the default home screen.

LOCKSCREEN

val IconAdPlacement.LOCKSCREENIconAdPlacement

Placement in the lockscreen.

MINUS_ONE_SCREEN

val IconAdPlacement.MINUS_ONE_SCREENIconAdPlacement

Placement in the minus one screen.

NOTIFICATION

val IconAdPlacement.NOTIFICATIONIconAdPlacement

Placement in a notification.

val IconAdPlacement.SEARCHIconAdPlacement

Placement in a search context.

SHARE

val IconAdPlacement.SHAREIconAdPlacement

Placement in a share context.

STORE

val IconAdPlacement.STOREIconAdPlacement

Placement in an app store.

UNSPECIFIED

val IconAdPlacement.UNSPECIFIEDIconAdPlacement

No placement specified.

Public functions

valueOf

fun valueOf(value: String): IconAdPlacement

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<IconAdPlacement>

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<IconAdPlacement>

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