Instance Method

updatePrimaryHome:completionHandler:

Updates the primary home of this home manager.

Declaration

- (void)updatePrimaryHome:(HMHome *)home completionHandler:(void (^)(NSError *error))completion;

Parameters

home

The new primary home. Must be a home managed by this home manager.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Managing the Primary Home

primaryHome

The primary home managed by this home manager.