Click or drag to resize

EmulationClientSetSensorOverrideReadingsAsync Method

Version 130.1.90
Updates the sensor readings reported by a sensor type previously overridden by setSensorOverrideEnabled.

Namespace: CefSharp.DevTools.Emulation
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> SetSensorOverrideReadingsAsync(
	SensorType type,
	SensorReading reading
)

Parameters

type  SensorType
type
reading  SensorReading
reading

Return Value

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