LayerTreeDomain

Functions

Link copied to clipboard

Provides the reasons why the given layer was composited.

Link copied to clipboard
suspend fun disable(): DisableResponse

Disables compositing tree inspection.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables compositing tree inspection.

Link copied to clipboard
fun events(): Flow<LayerTreeEvent>

Subscribes to all events related to this domain.

Link copied to clipboard
Link copied to clipboard

Returns the snapshot identifier.

Link copied to clipboard

Returns the layer snapshot identifier.

Link copied to clipboard

Releases layer snapshot captured by the back-end.

Link copied to clipboard
inline suspend fun replaySnapshot(snapshotId: SnapshotId, optionalArgs: ReplaySnapshotRequest.Builder.() -> Unit = {}): ReplaySnapshotResponse

Replays the layer snapshot and returns the resulting bitmap.

Link copied to clipboard

Replays the layer snapshot and returns canvas log.