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.EmulationAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetPressureStateOverrideAsync(
PressureSource source,
PressureState state
)
public:
Task<DevToolsMethodResponse^>^ SetPressureStateOverrideAsync(
PressureSource source,
PressureState state
)
Parameters
- source PressureSource
- source
- state PressureState
- state
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also