onDisconnect abstract method

Future<bool> onDisconnect()

Callback on disconnect.

Is to be overridden in sub-classes and implement device-specific disconnection.

Implementation

Future<bool> onDisconnect();