SynchSDK
Last updated
Last updated
Classes
SyncSdkBuilder - creates an instance of the SyncSdk
SyncListener - an interface containing the API callbacks
Type
Methods
Parameters
SyncSdkBuilder
accessToken(mAccessToken)
mAccessToken - authorization token;
SyncSdkBuilder
name(mDisplayName)
mDisplayName - username;
SyncSdkBuilder
syncListener(this)
this - interface to syncSdk's callbacks;
SyncSdkBuilder
build()
initialize SyncSdk object
Type
Methods
Parameters
void
startSync() - Start synchronization using the SyncSdk object requires a SyncSdk’s URL and a valid Access Token to be available before connecting.
void
stopSync()
void
groupPlay() - start player for all members group using the SyncSdk object
void
groupPause() - pause player for all members group using the SyncSdk object
void
groupSeek(Long position) - seek player’s video for all members group using the SyncSdk object
position - position video
void
groupSeekSuccess(Long position) - confirmation about seeking player's video using the SyncSdk object
position - position video