AdFormat

Supported ad formats in the SDK. Each format has a corresponding controller type on AdManager.

Entries

Link copied to clipboard

Banner ad (anchored adaptive, inline, or fixed size).

Link copied to clipboard

Interstitial full-screen ad.

Link copied to clipboard

Native ad (rendered with a custom AdLayout).

Link copied to clipboard

Rewarded video ad.

Link copied to clipboard

Rewarded interstitial ad.

Link copied to clipboard

App-open ad shown on app foreground.

Properties

Link copied to clipboard

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

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): AdFormat

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

Link copied to clipboard

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