class LayerTreeDomain
compositingReasons |
Provides the reasons why the given layer was composited. suspend fun compositingReasons(input: CompositingReasonsRequest): CompositingReasonsResponse |
disable |
Disables compositing tree inspection. suspend fun disable(): Unit |
enable |
Enables compositing tree inspection. suspend fun enable(): Unit |
events |
Subscribes to all events related to this domain. fun events(): Flow<LayerTreeEvent> |
layerPainted |
fun layerPainted(): Flow<LayerPaintedEvent> |
layerTreeDidChange |
fun layerTreeDidChange(): Flow<LayerTreeDidChangeEvent> |
loadSnapshot |
Returns the snapshot identifier. suspend fun loadSnapshot(input: LoadSnapshotRequest): LoadSnapshotResponse |
makeSnapshot |
Returns the layer snapshot identifier. suspend fun makeSnapshot(input: MakeSnapshotRequest): MakeSnapshotResponse |
profileSnapshot |
suspend fun profileSnapshot(input: ProfileSnapshotRequest): ProfileSnapshotResponse |
releaseSnapshot |
Releases layer snapshot captured by the back-end. suspend fun releaseSnapshot(input: ReleaseSnapshotRequest): Unit |
replaySnapshot |
Replays the layer snapshot and returns the resulting bitmap. suspend fun replaySnapshot(input: ReplaySnapshotRequest): ReplaySnapshotResponse |
snapshotCommandLog |
Replays the layer snapshot and returns canvas log. suspend fun snapshotCommandLog(input: SnapshotCommandLogRequest): SnapshotCommandLogResponse |