DisplayBottomSheetEventSchema

@Serializable
@SerialName(value = "DisplayBottomSheet")
data class DisplayBottomSheetEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val bottomSheetId: String, val tiles: SerializableImmutableList<TileSchema>, val isCancellable: Boolean, val fill: Boolean, val allowsPartialExpansion: Boolean) : EventSchema

Shows a bottom sheet built from tiles, registered under bottomSheetId so a later DismissBottomSheet can close it. This is the non-modal variant: it does not dim or block the content behind it.

isCancellable decides whether the user can dismiss it by gesture, fill whether it takes the full height, and allowsPartialExpansion whether it stops at a half-expanded state before reaching full height.

incomingData consumed: not used.

Triggers fired:

  • OnSuccessEventTrigger — when the sheet was added. No data is passed downstream.

  • OnFailureEventTrigger — when it could not be added, typically because bottomSheetId is already in use; the Throwable is passed as incomingData.

  • OnDisplayEventTrigger — once, when the sheet actually enters composition on screen.

Constructors

Link copied to clipboard
constructor(id: String, trigger: EventTrigger, events: SerializableImmutableList<EventSchema>?, bottomSheetId: String, tiles: SerializableImmutableList<TileSchema>, isCancellable: Boolean, fill: Boolean, allowsPartialExpansion: Boolean)

Properties

Link copied to clipboard
@SerialName(value = "allowsPartialExpansion")
val allowsPartialExpansion: Boolean
Link copied to clipboard
@SerialName(value = "bottomSheetId")
val bottomSheetId: String
Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?

This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.

Link copied to clipboard
@SerialName(value = "fill")
val fill: Boolean
Link copied to clipboard
@SerialName(value = "id")
open override val id: String

Unique identifier — how TriggerEvent/UpdateEvents address this event by id. Defaults to a random id when omitted from the DSL.

Link copied to clipboard
@SerialName(value = "isCancellable")
val isCancellable: Boolean
Link copied to clipboard
@SerialName(value = "tiles")
val tiles: SerializableImmutableList<TileSchema>
Link copied to clipboard
@SerialName(value = "trigger")
open override val trigger: EventTrigger

The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.