Google is committed to advancing racial equity for Black communities. See how.

Record

interface Record
androidx.compose.frames.Record

Frame local values of a framed object.

Summary

Public methods
abstract Unit
assign(value: Record)

Copy the value into this frame record from another for the same framed object.

abstract Record

Create a new frame record for the same framed object.

Inherited extension functions
From androidx.compose.frames
T
T.readable(framed: Framed)

Unit
T.withCurrent(block: (r: T) -> Unit)

Provides a block with the current record, without notifying any Frame.readObservers.

T
T.writable(framed: Framed)

T
T.writable(framed: Framed, frame: Frame)

Return a writable frame record for the given record.

Properties
abstract Int

The frame id of the frame in which the record was created.

abstract Record?

Reference of the next frame record.

Public methods

assign

abstract fun assign(value: Record): Unit

Copy the value into this frame record from another for the same framed object.

create

abstract fun create(): Record

Create a new frame record for the same framed object.

Properties

frameId

abstract var frameId: Int

The frame id of the frame in which the record was created.

next

abstract var next: Record?

Reference of the next frame record. Frame records are stored in a linked list.