dittosynckit / live.ditto / DittoPeersObserverCallback

DittoPeersObserverCallback

interface DittoPeersObserverCallback

Typically this will only be used if interacting with the SDK from Java. You can call observePeers on a DittoSyncKit instance with an object that implements this interface.

Functions

update

abstract fun update(peers: List<DittoRemotePeer>): Unit