Instance Method

accessoryBrowser(_:didFindNewAccessory:)

Tells the delegate that a new accessory has been discovered.

Declaration

optional func accessoryBrowser(_ browser: HMAccessoryBrowser, didFindNewAccessory accessory: HMAccessory)

Parameters

browser

The browser that discovered the new accessory.

accessory

The new accessory.

See Also

Tracking New Accessories

func accessoryBrowser(HMAccessoryBrowser, didRemoveNewAccessory: HMAccessory)

Tells the delegate that a new accessory is no longer available in the browser.