PlaySynchronizerInterface
Synchronize of the start, end and cancellation between associated plays. (Associated plays means that have equal dialogRequestId)
Types
Link copied to clipboard
Link copied to clipboard
The synchronize object to interact with PlaySynchronizerInterface
Functions
Link copied to clipboard
Add a listener
Link copied to clipboard
Cancel plays(synchronizeObject) with matching dialogRequestId
Link copied to clipboard
abstract fun prepareSync(synchronizeObject: PlaySynchronizerInterface.SynchronizeObject)
Content copied to clipboard
Notify that a synchronizeObject is preparing to start.
Link copied to clipboard
abstract fun releaseSync(synchronizeObject: PlaySynchronizerInterface.SynchronizeObject, listener: PlaySynchronizerInterface.OnRequestSyncListener? = null)
Content copied to clipboard
Notify that a synchronizeObject was finished.
Link copied to clipboard
abstract fun releaseSyncImmediately(synchronizeObject: PlaySynchronizerInterface.SynchronizeObject, listener: PlaySynchronizerInterface.OnRequestSyncListener? = null)
Content copied to clipboard
Notify that a synchronizeObject was stopped or canceled.
Link copied to clipboard
abstract fun removeListener(listener: PlaySynchronizerInterface.Listener)
Content copied to clipboard
Remove a listener
Link copied to clipboard
abstract fun startSync(synchronizeObject: PlaySynchronizerInterface.SynchronizeObject, listener: PlaySynchronizerInterface.OnRequestSyncListener? = null)
Content copied to clipboard
Notify that a synchronizeObject has been started.