EmulationClientSetSensorOverrideReadingsAsync Method |
Version 130.1.90
Updates the sensor readings reported by a sensor type previously overridden
by setSensorOverrideEnabled.
Namespace: CefSharp.DevTools.EmulationAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetSensorOverrideReadingsAsync(
SensorType type,
SensorReading reading
)
public:
Task<DevToolsMethodResponse^>^ SetSensorOverrideReadingsAsync(
SensorType type,
SensorReading^ reading
)
Parameters
- type SensorType
- type
- reading SensorReading
- reading
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also