Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ON THIS PAGE


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

If the slave 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 slave unit is booted up while the master 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 master 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.

  • No labels