setSensorConfig method
Requests a change of the sensor configuration on the connected device.
Returns true
if the request was successfully made, false
otherwise.
Implementation
Future<bool> setSensorConfig(ESenseConfig config) async {
if (!connected)
throw ESenseException('Not connected to any eSense device.');
return await _eSenseManagerMethodChannel.invokeMethod(
'setSensorConfig', config.toMap()) ??
false;
}