SynchListener
The Interface SyncListener invokes all the events from the SyncSdk.
The SyncListener is created together with the SyncSdk instance.
Interface Callbacks Summary
Type | Methods | Parameters |
void | onClientList(syncClients: List<SyncClient>) - List of all clients in the synchronization group |
|
void | onSetPlaybackRate(rate: Float) - Set playback rate |
|
void | onPlaybackFromPosition(psition: Long) - Playback from position, similar to seek to the position |
|
Long | onGetPlayerPosition(): Long - Get player position |
|
Float | onGetPlaybackRate(): Float - Get playback rate |
|
void | onSyncInfo(syncInfo: SyncInfo) - Synchronization infomration about delta and accuracy |
|
void | onDisconnected() - The client has been disconnected from the group. All connections will be closed |
Last updated