startMonitor method

Future<bool> startMonitor()

Implementation

Future<bool> startMonitor() async {
  if (!hasMonitorStarted) {
    AtClientManager.getInstance().atClient.notificationService.subscribe(shouldDecrypt: true).listen((notification) {
      _notificationCallback(notification);
    });
    hasMonitorStarted = true;
  }

  return true;
}