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() -> VirtualDevice

    Return Value

    The VirtualDevice that is the source of the event.

  • Get the name-value pair from the event.

    Declaration

    Swift

    func getNamedValue() -> NamedValue

    Return Value

    The NamedValue containing attributes related to the event.

  • Get the format URN of the data

    Declaration

    Swift

    func getURN() -> String

    Return Value

    the format URN

  • Get the time the event was raised by the device-client

    Declaration

    Swift

    func getEventTime() -> Date

    Return Value

    The time of the event