class LayerTreeOperations
(source)
LayerTreeOperations represents LayerTree protocol domain request/response operations and events that can be captured.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol LayerTree domain documentation.
fun compositingReasons(input: CompositingReasonsRequest): Single<CompositingReasonsResponse>
Provides the reasons why the given layer was composited. |
|
fun disable(): Single<ResponseFrame>
Disables compositing tree inspection. |
|
fun enable(): Single<ResponseFrame>
Enables compositing tree inspection. |
|
fun events(): Flowable<Event>
Returns flowable capturing all LayerTree domains events. |
|
fun layerPainted(): Flowable<LayerPaintedEvent>
Returns observable capturing all LayerTree.layerPainted events. |
|
fun layerTreeDidChange(): Flowable<LayerTreeDidChangeEvent>
Returns observable capturing all LayerTree.layerTreeDidChange events. |
|
fun loadSnapshot(input: LoadSnapshotRequest): Single<LoadSnapshotResponse>
Returns the snapshot identifier. |
|
fun makeSnapshot(input: MakeSnapshotRequest): Single<MakeSnapshotResponse>
Returns the layer snapshot identifier. |
|
fun profileSnapshot(input: ProfileSnapshotRequest): Single<ProfileSnapshotResponse> |
|
fun releaseSnapshot(input: ReleaseSnapshotRequest): Single<ResponseFrame>
Releases layer snapshot captured by the back-end. |
|
fun replaySnapshot(input: ReplaySnapshotRequest): Single<ReplaySnapshotResponse>
Replays the layer snapshot and returns the resulting bitmap. |
|
fun snapshotCommandLog(input: SnapshotCommandLogRequest): Single<SnapshotCommandLogResponse>
Replays the layer snapshot and returns canvas log. |