leaveGroup method
void
leaveGroup()
Leaves an existing secure group.
Throws a DeviceFailureException if the Wi-Fi/Bluetooth adapter is not enabled.
Implementation
void leaveGroup() {
if (_datalinkManager.checkState() == 0) {
throw DeviceFailureException('No wifi and bluetooth connectivity');
}
_presentationManager.groupController.leaveSecureGroup();
}