Package-level declarations
Types
Link copied to clipboard
data class AsyncImageTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val model: AsyncImageTileSchema.Model, val contentDescription: String?, val contentScale: AsyncImageTileSchema.ContentScale, val alpha: Float, val clipToBounds: Boolean, val alignment: AlignmentSchema.TwoDimensional) : TileSchema
Renders a Coil AsyncImage that loads its content from model, which can be a remote Model.Url, raw Model.ArrayOfBytes, or a Model.Base64 string (decoded on the client before being handed to Coil). contentScale maps onto the Compose ContentScale of the same name, and contentDescription, alpha, clipToBounds and alignment are forwarded as-is.
Link copied to clipboard
data class IconTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val icon: IconSchema) : TileSchema
Link copied to clipboard
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.