Enumeration

MPRemoteCommandHandlerStatus

Constant indicating the status of a command.

Declaration

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

Topics

Constants

MPRemoteCommandHandlerStatusSuccess

Denotes that the requested command did not generate an error.

MPRemoteCommandHandlerStatusNoSuchContent

Denotes that the requested command could not be executed because the content could not be found.

MPRemoteCommandHandlerStatusNoActionableNowPlayingItem

Denotes that the command could not be executed because a Now Playing item that supports this action was required, but was not available.

MPRemoteCommandHandlerStatusCommandFailed

Denotes that the requested command could not be executed for any other reason.

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.