Interface DeviceEvents

The interface the device manager event emitter should follow

Hierarchy

  • DeviceEvents

Properties

announced: ((device: Device) => void)

Type declaration

    • (device: Device): void
    • Fired every time the device announces itself on the network

      Parameters

      Returns void

connected: ((device: Device) => void)

Type declaration

    • (device: Device): void
    • Fired when a new device becomes available on the network

      Parameters

      Returns void

disconnected: ((device: Device) => void)

Type declaration

    • (device: Device): void
    • Fired when a device has not announced itself on the network for the specified timeout.

      Parameters

      Returns void

Generated using TypeDoc