LayerTreeClientProfileSnapshotAsync Method |
Version 86.0.240
ProfileSnapshot
Namespace:
CefSharp.DevTools.LayerTree
Assembly:
CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax public Task<ProfileSnapshotResponse> ProfileSnapshotAsync(
string snapshotId,
Nullable<int> minRepeatCount = null,
Nullable<long> minDuration = null,
Rect clipRect = null
)
public:
Task<ProfileSnapshotResponse^>^ ProfileSnapshotAsync(
String^ snapshotId,
Nullable<int> minRepeatCount = nullptr,
Nullable<long long> minDuration = nullptr,
Rect^ clipRect = nullptr
)
Parameters
- snapshotId
- Type: SystemString
The id of the layer snapshot. - minRepeatCount (Optional)
- Type: SystemNullableInt32
The maximum number of times to replay the snapshot (1, if not specified). - minDuration (Optional)
- Type: SystemNullableInt64
The minimum duration (in seconds) to replay the snapshot. - clipRect (Optional)
- Type: CefSharp.DevTools.DOMRect
The clip rectangle to apply when replaying the snapshot.
Return Value
Type:
TaskProfileSnapshotResponsereturns System.Threading.Tasks.Task<ProfileSnapshotResponse>
See Also