Class

HMAccessoryBrowser

An HMAccessoryBrowser object is a network browser used to discover new accessories.

Overview

Discovering new network accessories is an expensive operation in terms of time and power. You should only start searching for new accessories when the user explicitly asks to do so, and you should stop searching as soon as the user has chosen the new accessories to add to their home.

Symbols

Discovering Accessories

var discoveredAccessories: [HMAccessory]

Array of accessories discovered during a search.

func startSearchingForNewAccessories()

Starts searching for accessories not yet associated with a home.

func stopSearchingForNewAccessories()

Stops searching for new accessories.

Getting and Setting the Delegate

var delegate: HMAccessoryBrowserDelegate?

Delegate that receives updates on the discovered accessories.

Relationships

Inherits From

Conforms To