setSensorOverrideReadings method
Updates the sensor readings reported by a sensor type previously overridden by setSensorOverrideEnabled.
Implementation
Future<void> setSensorOverrideReadings(
SensorType type, SensorReading reading) async {
await _client.send('Emulation.setSensorOverrideReadings', {
'type': type,
'reading': reading,
});
}