Interface BridgeChatListener
-
- All Implemented Interfaces:
@CalledFromNative() public interface BridgeChatListener
A helper interface that represents the callback methods used by the Rust side of the bridge.
The app-facing listener API is org.signal.libsignal.net.ChatConnectionListener.
-
-
Method Summary
Modifier and Type Method Description abstract voidonIncomingMessage(Array<byte> envelope, long serverDeliveryTimestamp, long sendAckHandle)abstract voidonQueueEmpty()abstract voidonReceivedAlerts(Array<String> alerts)abstract voidonConnectionInterrupted(Throwable disconnectReason)-
-
Method Detail
-
onIncomingMessage
abstract void onIncomingMessage(Array<byte> envelope, long serverDeliveryTimestamp, long sendAckHandle)
-
onQueueEmpty
abstract void onQueueEmpty()
-
onReceivedAlerts
abstract void onReceivedAlerts(Array<String> alerts)
-
onConnectionInterrupted
abstract void onConnectionInterrupted(Throwable disconnectReason)
-
-
-
-