Instance Method

stopSearchingForNewAccessories()

Stops searching for new accessories.

Declaration

func stopSearchingForNewAccessories()

Discussion

After you call this method, HomeKit stops sending updates to your browser delegate. Scanning may continue for system reasons or if other delegates are still active, but the discoveredAccessories array remains unchanged after you stop the search until your app calls the startSearchingForNewAccessories() method again.

See Also

Discovering Accessories

var discoveredAccessories: [HMAccessory]

An array of accessories discovered during a search.

func startSearchingForNewAccessories()

Starts searching for accessories not yet associated with a home.