SyncEvent
public protocol SyncEvent
An event passed to the onSync
callback when content referred to
by an attribute value has been successfully synchronized, or has failed
to be synchronized.
-
Get the virtual device that is the source of the event.
Declaration
Swift
func getVirtualDevice() -> AbstractVirtualDevice?
Return Value
the virtual device, or
nil
ifsync
was not called independently -
Get the name of the attribute, action, or format that this event is associated with.
Declaration
Swift
func getName() -> String?
Return Value
the name, or
nil
ifsync
was called independently -
Get the StorageObject that is the source of this event.
Declaration
Swift
func getSource() -> StorageObject
Return Value
the storageObject, never
nil