Click or drag to resize

EmulationClientSetPressureStateOverrideAsync Method

Version 130.1.90
Provides a given pressure state that will be processed and eventually be delivered to PressureObserver users. |source| must have been previously overridden by setPressureSourceOverrideEnabled.

Namespace: CefSharp.DevTools.Emulation
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> SetPressureStateOverrideAsync(
	PressureSource source,
	PressureState state
)

Parameters

source  PressureSource
source
state  PressureState
state

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also