ContentPlacement

Where a piece of personalized content is rendered. Each placement is a separate ContentApi resource.

Entries

Link copied to clipboard

The Explore / Menu page - one menu-v3 page document.

Link copied to clipboard

The bottom navigation bar - at most five tabs.

Link copied to clipboard

The home-screen banner carousel - at most twenty slides.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int

The numeric placement code the ContentApi echoes back.

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
Link copied to clipboard

The path segment the ContentApi addresses the placement by.

Functions

Link copied to clipboard

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.