Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration members

chat_update

chat_update = "chat_update"

Fires on new chat message sent using SyncSDK.sendMessageToGroup.

returns

{ clientName: string, message: string, ownMessage: boolean }

client_list_update

client_list_update = "client_list_update"

Fires when group members change.

returns

{ clientList: [{id: string, name: string, leader: boolean}] }

delta_change

delta_change = "delta_change"

Fires on delta update between player's and target positions.

returns

Number: delta value in milliseconds

error

error = "error"

Fires on error.

returns

SyncError

receive_command

receive_command = "receive_command"

Fires on receiving command sent using SyncSDK.sendEventToGroup.

returns

{ message: any, senderId: string }

remote_event

remote_event = "remote_event"

Fires on group events. Possible type values: (group_pause|group_play|group_mute|group_unmute|group_seek|group_volume_change). If the event was initiated by the server, senderId will be null. Return object can also contain msg field with additional information.

returns

{ type: string, senderId?: string, msg?: object }

speed_change

speed_change = "speed_change"

Fires when new speed is passed to PlayerDecorator.changePlaybackRate.

returns

Number: playback rate value

sync_accuracy_change

sync_accuracy_change = "sync_accuracy_change"

Fires on synchronization accuracy update.

returns

Number: accuracy in percentage where 10 seconds is 0% and 100 milliseconds is 100%