onConnect abstract method

Future<DeviceStatus> onConnect()

Callback on connect. Returns the DeviceStatus of the device.

Is to be overridden in sub-classes.

Implementation

Future<DeviceStatus> onConnect();