Instance Method

updateName:completionHandler:

Updates the name of the service to the specified string.

Declaration

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

Parameters

name

The new name. Must not match an existing name in 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 the Service

name

The user specified name of the service.

uniqueIdentifier

A unique identifier for the service.