ContentVisual

data class ContentVisual(val kind: String?, val value: String?, val altText: String?)

An icon or image reference of the menu page.

Constructors

Link copied to clipboard
constructor(kind: String?, value: String?, altText: String?)

Properties

Link copied to clipboard

Image description for screen readers, or null.

Link copied to clipboard
val kind: String?

token for a named icon from the host app's own icon set (value is the token, e.g. gym), or asset for a content-library asset (value is its asset id).

Link copied to clipboard

The token or asset id.