Protocol

HMAccessoryBrowserDelegate

An interface used to notify an accessory browser delegate of new accessories.

Declaration

protocol HMAccessoryBrowserDelegate

Overview

Topics

Tracking New Accessories

func accessoryBrowser(HMAccessoryBrowser, didFindNewAccessory: HMAccessory)

Tells the delegate that a new accessory has been discovered.

func accessoryBrowser(HMAccessoryBrowser, didRemoveNewAccessory: HMAccessory)

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

Relationships

Inherits From

See Also

Tracking the Addition or Removal of Accessories

var delegate: HMAccessoryBrowserDelegate?

A delegate that receives updates on the discovered accessories.