IconAdPlacement

public enum IconAdPlacement extends 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 methods

final int
final @NonNull IconAdPlacement

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

final @NonNull IconAdPlacement[]

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

Enum Values

BROWSER

IconAdPlacement IconAdPlacement.BROWSER

Placement in a browser.

FOLDER

IconAdPlacement IconAdPlacement.FOLDER

Placement in a folder of apps.

HOME

IconAdPlacement IconAdPlacement.HOME

Placement in the default home screen.

LOCKSCREEN

IconAdPlacement IconAdPlacement.LOCKSCREEN

Placement in the lockscreen.

MINUS_ONE_SCREEN

IconAdPlacement IconAdPlacement.MINUS_ONE_SCREEN

Placement in the minus one screen.

NOTIFICATION

IconAdPlacement IconAdPlacement.NOTIFICATION

Placement in a notification.

IconAdPlacement IconAdPlacement.SEARCH

Placement in a search context.

SHARE

IconAdPlacement IconAdPlacement.SHARE

Placement in a share context.

STORE

IconAdPlacement IconAdPlacement.STORE

Placement in an app store.

UNSPECIFIED

IconAdPlacement IconAdPlacement.UNSPECIFIED

No placement specified.

Public methods

getValue

public final int getValue()

valueOf

public final @NonNull IconAdPlacement valueOf(@NonNull String value)

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

public final @NonNull IconAdPlacement[] 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.