編輯

共用方式為


MPRemoteCommandHandlerStatus Enum

Definition

Enumerates values that indicate whether a command succeeded, failed, or cannot play the kind of media requested.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MPRemoteCommandHandlerStatus
type MPRemoteCommandHandlerStatus = 
Inheritance
MPRemoteCommandHandlerStatus
Attributes

Fields

Name Value Description
Success 0

Indicates that the command succeeded.

NoSuchContent 100

Indicates that there was no such content to play.

NoActionableNowPlayingItem 110

Indicates that no item was playing, so the command could not be meaningfuly received.

DeviceNotFound 120
CommandFailed 200

Indicates that the command failed.

Applies to