Instance Method


Stops searching for new accessories.


func stopSearchingForNewAccessories()


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.