Instance Method

removeTarget:

Removes a target from the remote command object.

Declaration

- (void)removeTarget:(id)target;

Parameters

target

The object that currently is a recipient of action messages sent by this object. Specify nil to remove all targets.

Discussion

Call the removeTarget: method to remove the specified target and all actions associated with the target.

See Also

Handling Events

- addTargetWithHandler:

Adds a block to be called when an event is received.

- addTarget:action:

Adds a target object to be called when an event is received.

- removeTarget:action:

Removes a target and action from a remote command object.

MPRemoteCommandHandlerStatus

Constant indicating the status of a command.