DittoConnectionRequestHandlerCallback

interface DittoConnectionRequestHandlerCallback

A handler for connection requests from other peers.

Set a DittoConnectionRequestHandlerCallback on Presence.connectionRequestHandler to allow or deny connection requests from other peers.

Since

4.8.0

Functions

Link copied to clipboard
abstract fun connect(connectionRequest: DittoConnectionRequest): DittoConnectionRequestAuthorization

Called when a connection request is received from another peer.