SynchSDK
Last updated
Last updated
Classes
SynchSDK - creates an instance of the SynchSDK
SynchListener - an interface containing the API callbacks
Type
Methods
Parameters
SynchSDK
init(accessToken: String)
accessToken - authentication token
void
createGroup(_ groupId: String, clientName: String)
groupId - group identificator
Max length is 255 chars
clientName - client name
void
attachListener(_ listner: SyncListener)
listner - syncSdk's callbacks
void
startSynchronize()
void
stopSynchronize()
void
playerSeek(position: Int)
position: value should be in milliseconds
void
playerPause()
void
playerPlay()