Enumeration

MPRemoteCommandHandlerStatus

Constant indicating the status of a command.

Declaration

enum MPRemoteCommandHandlerStatus : Int

Topics

Constants

case success

Denotes that the requested command did not generate an error.

case noSuchContent

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

case noActionableNowPlayingItem

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

case commandFailed

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

Enumeration Cases

See Also

Handling Events

func addTarget(Any, action: Selector)

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

func removeTarget(Any?)

Removes a target from the remote command object.

func removeTarget(Any, action: Selector?)

Removes a target and action from a remote command object.