Record

interface Record(source)

Inheritors

Properties

Link copied to clipboard
abstract val key: String

A value that identifies this record uniquely, even if it shares the same screen with another record. This key may be used by BackStackRecordLocalProviders to associate presentation data with a record across composition recreation.

Link copied to clipboard
abstract val screen: Screen

The Screen that should present this record.

Functions

Link copied to clipboard
abstract suspend fun awaitResult(key: String): PopResult?

Awaits a PopResult produced by the record that previously sat on top of the stack above this one. Returns null if no result was produced.