roSyncManagerEvent

 

These events are generated on follower units in response to roSyncManager.Synchronize() calls from the leader unit. The roSyncManager on each follower unit will handle message duplicates, so the script will receive the sync message only once during normal operations.

If the follower unit is already booted up, then the event will arrive from the first network event generated by roSyncManager.Synchronzie(). On the other hand, if the follower unit is booted up while the leader is in the middle of playing a video file or displaying an image file, then one of the message resends (generated at one second intervals by the leader unit) will trigger the event. The script passes on the data from the event to the PlayFile() command of the video player or the DisplayFile() command of the image player, which will then determine how far forward in the file it needs to seek.

ifUserData

SetUserData(user_data As Object)

Sets the user data that will be returned when events are raised.

GetUserData() As Object

Returns the user data that has previously been set via SetUserData() . It will return Invalid if no data has been set.

ifSyncManagerEvent

GetDomain() As String

Returns the domain of the sync group, which is specified during creation of the roSyncManager object on the master unit.

GetId() As String

Returns the identifier of the event.

GetIsoTimestamp() As String

Returns the timestamp of the event in ISO format.

ON THIS PAGE