A home manager object manages a collection of one or more homes. Use the home manager to add homes, get the list of homes, and track changes to homes with the home manager’s delegate.


Managing Homes

var primaryHome: HMHome?

The primary home managed by this home manager.

var homes: [HMHome]

An array of all homes managed by this home manager.

func updatePrimaryHome(HMHome, completionHandler: (Error?) -> Void)

Update the primary home of this home manager.

Setting and Getting the Delegate

var delegate: HMHomeManagerDelegate?

Delegate that receives updates on the collection of homes.


Inherits From

Conforms To