NanoleafDeviceBrowser

public final class NanoleafDeviceBrowser

Browse Nanoleaf devices with Bonjour.

  • An async sequence that emits devices found.

    Declaration

    Swift

    public var identifiers: AnyAsyncSequenceable<[DeviceIdentifier]>

Initialization

  • Initialize a new NanoleafDeviceBrowser instance.

    Declaration

    Swift

    public init()

API

  • Start monitoring for Nanoleaf devices.

    Declaration

    Swift

    public func start()
  • Stop monitoring for Nanoleaf devices.

    Declaration

    Swift

    public func cancel()