isConnected method

Future<bool> isConnected()

Checks the BTLE connection if the device is connected or not.

Returns true if a device is connected false otherwise

Implementation

Future<bool> isConnected() async => connected =
    await _eSenseManagerMethodChannel.invokeMethod('isConnected') ?? false;