Instance Method

homeManager(_:didAdd:)

Tells the delegate that the home manager added a home.

Declaration

optional func homeManager(_ manager: HMHomeManager, didAdd home: HMHome)

Parameters

manager

The home manager that added the home.

home

The newly added home.

See Also

Monitoring Home Manager State Changes

func homeManagerDidUpdateHomes(HMHomeManager)

Tells the delegate that the home manager updated its collection of homes.

func homeManager(HMHomeManager, didRemove: HMHome)

Tells the delegate that the home manager removed a home.

func homeManagerDidUpdatePrimaryHome(HMHomeManager)

Tells the delegate that the home manager updated its primary home.