Event

public protocol Event

An event passed to a callback.

  • Get the virtual device that is the source of the event

    Declaration

    Swift

    func getVirtualDevice() -> VirtualDevice

    Return Value

    the virtual device, never nil

  • Get the name-value pair from the event.

    Declaration

    Swift

    func getNamedValue() -> NamedValue

    Return Value

    the value, never nil