Enumeration

MPRemoteCommandHandlerStatus

Constants indicating the status of a command.

Declaration

typedef enum MPRemoteCommandHandlerStatus : NSInteger {
    ...
} MPRemoteCommandHandlerStatus;

Topics

Constants

MPRemoteCommandHandlerStatusSuccess

The requested command executed successfully.

MPRemoteCommandHandlerStatusNoSuchContent

The requested command couldn’t execute because its required content isn’t available.

MPRemoteCommandHandlerStatusNoActionableNowPlayingItem

The requested command couldn’t execute because no Now Playing item is available.

MPRemoteCommandHandlerStatusDeviceNotFound

The requested command couldn’t execute because a required device isn’t available.

MPRemoteCommandHandlerStatusCommandFailed

The requested command failed to execute.

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:

Removes a target from the remote command object.

- removeTarget:action:

Removes a target and action from a remote command object.