LinearProgressIndicatorTileSchema

@Serializable
@SerialName(value = "LinearProgressIndicator")
data class LinearProgressIndicatorTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val progress: Float? = null) : TileSchema

Renders a Material 3 LinearProgressIndicator. When progress is null the indicator is indeterminate (endless sweep); when set, it is determinate and shows that fraction, where 0f is empty and 1f is complete.

Triggers dispatched: none. The tile emits no trigger and is not clickable, so any events declared on it are never fired.

Notes: colors, track and stroke cap are Material defaults — only style (size, padding, background, …) is applied. Drive a determinate indicator by pushing new progress values with UpdateTiles.

Constructors

Link copied to clipboard
constructor(id: String, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, progress: Float? = null)

Properties

Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
@SerialName(value = "progress")
val progress: Float?
Link copied to clipboard
@SerialName(value = "searchableTerms")
open override val searchableTerms: SerializableImmutableList<String>?
Link copied to clipboard
@SerialName(value = "style")
open override val style: StyleSchema
Link copied to clipboard
@SerialName(value = "visibility")
open override val visibility: TileSchema.Visibility

Functions

Link copied to clipboard
open fun isGone(): Boolean
Link copied to clipboard
open fun isVisible(): Boolean