Instance Method

addUserWithCompletionHandler:

Adds a user to the home.

Declaration

- (void)addUserWithCompletionHandler:(void (^)(HMUser *user, NSError *error))completion;

Parameters

completion

The block executed after the request is processed.

user

The user that was added to the home.

error

nil on success; otherwise, error object indicating the reason for failure. error.userInfo[HMUserFailedAccessoriesKey] contains more information in case of failure. See HMUserFailedAccessoriesKey for more details.

See Also

Deprecated Symbols

users

All users associated with the home.

Deprecated
- removeUser:completionHandler:

Removes a user from the home.

Deprecated