setSensorConfig method

Future<bool> setSensorConfig(
  1. ESenseConfig config

Requests a change of the sensor configuration on the connected device.

Returns true if the request was successfully made, false otherwise


static Future<bool> setSensorConfig(ESenseConfig config) async {
  assert(config != null, 'A non-null sensor configuration must be specified.');
  if (!connected) throw ESenseException('Not connected to any eSense device.');
  return await _eSenseManagerMethodChannel.invokeMethod('setSensorConfig', config.toMap());