sendMessageToGroup method

void sendMessageToGroup(
  1. Object data
)

Sends a confidential message to the secure group members.

The payload data is encrypted.

Throws a DeviceFailureException if the Wi-Fi/Bluetooth adapter is not enabled.

Implementation

void sendMessageToGroup(Object data) {
  if (_datalinkManager.checkState() == 0) {
    throw DeviceFailureException('No wifi and bluetooth connectivity');
  }

  _presentationManager.groupController.sendMessageToGroup(data);
}