DataEvent
public protocol DataEvent : Event
An event passed to the Data callback.
-
Get the virtual device that is the source of the event
Declaration
Swift
func getVirtualDevice() -> VirtualDeviceReturn Value
The
VirtualDevicethat is the source of the event. -
Get the name-value pair from the event.
Declaration
Swift
func getNamedValue() -> NamedValueReturn Value
The
NamedValuecontaining attributes related to the event. -
Get the format URN of the data
Declaration
Swift
func getURN() -> StringReturn Value
the format URN
-
Get the time the event was raised by the device-client
Declaration
Swift
func getEventTime() -> DateReturn Value
The time of the event
DataEvent Protocol Reference