ImageTileSchema
data class ImageTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val resourceName: String, val contentDescription: String?, val contentScale: ImageTileSchema.ContentScale, val alpha: Float, val alignment: AlignmentSchema.TwoDimensional) : TileSchema
Renders a Compose Image from a drawable bundled with the client application. resourceName is looked up in the app's DrawableResourcesHolder; when no resource is registered under that name nothing is rendered at all — there is no fallback and no error trigger. contentScale maps onto the Compose ContentScale of the same name, and contentDescription, alpha and alignment are forwarded as-is.
Triggers dispatched: none. The tile emits no trigger of its own and is not clickable, so any events declared on it are never fired.
Notes: use AsyncImageTileSchema for images that come from the network or from raw bytes; this tile can only show assets that ship with the client.
Constructors
Link copied to clipboard
constructor(id: String, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, resourceName: String, contentDescription: String?, contentScale: ImageTileSchema.ContentScale, alpha: Float, alignment: AlignmentSchema.TwoDimensional)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "searchableTerms")
Link copied to clipboard
Link copied to clipboard