Enumeration

MPRemoteCommandHandlerStatus

Constants indicating the status of a command.

Declaration

enum MPRemoteCommandHandlerStatus : Int

Topics

Constants

case success

The requested command executed successfully.

case noSuchContent

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

case noActionableNowPlayingItem

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

case deviceNotFound

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

case commandFailed

The requested command failed to execute.

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.