Interface ConnectionManager

    • Method Detail

      • setDeviceConnectedHandler

        void setDeviceConnectedHandler​(DeviceConnectedHandler deviceConnectedHandler)
        Method registers handler responsible handling operations related to connected device after device is connected.
        Parameters:
        deviceConnectedHandler - device connected handler
      • setDeviceDisconnectedHandler

        void setDeviceDisconnectedHandler​(DeviceDisconnectedHandler deviceDisconnectedHandler)
        Method registers handler responsible handling device disconnected event.
        Parameters:
        deviceDisconnectedHandler - device disconnected handler