setSensorUpdateInterval method
Change the update interval of sensor. The units are in microseconds.
Implementation
Future setSensorUpdateInterval(int sensorType, int interval) async {
await _methodChannel.invokeMethod('setSensorUpdateInterval', {"sensorType": sensorType, "interval": interval});
}