Instance Method

updateName:completionHandler:

Updates the name of the zone.

Declaration

- (void)updateName:(NSString *)name completionHandler:(void (^)(NSError *error))completion;

Parameters

name

The new name. Must not be nil; must be unique within the home.

completion

The block executed after the request is processed.

error

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

See Also

Identifying a Zone

name

The name of the zone.

uniqueIdentifier

The unique identifier for a zone.