Instance Method

updateName:completionHandler:

Changes the name of the accessory.

Declaration

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

Parameters

name

The new name.

completion

The block executed after the request is processed.

error

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

See Also

Identifying an Accessory

name

The name of the accessory.

uniqueIdentifier

A unique identifier for the accessory.

identifier

A unique identifier for the accessory.

Deprecated