6.1-roNetworkTimeEvent

ON THIS PAGE


This event object is generated by the roSystemTime object.  

ifUserData

SetUserData(user_data As Object)

Sets the user data that will be returned by GetUserData().

GetUserData() As Object

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

ifNetworkTimeEvent

WasSuccessful() As Boolean

Returns True if the last attempt to set the clock via the network (i.e. NTP or HTTP) was successful.

GetFailureReason() As String

Returns a description of the error if the last attempt to set the clock via the network failed.