enableSensors static method
Implementation
static Future<SahhaSensorStatus> enableSensors() async {
try {
int statusInt = await _channel.invokeMethod('enableSensors');
SahhaSensorStatus status = SahhaSensorStatus.values[statusInt];
return status;
} on PlatformException catch (error) {
return Future.error(error);
}
}