PlaybackCommand Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the media playback command to execute.
public enum class PlaybackCommand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PlaybackCommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PlaybackCommand
var value = Windows.Phone.Notification.Management.PlaybackCommand.play
Public Enum PlaybackCommand
- Inheritance
-
PlaybackCommand
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App capabilities |
accessoryManager
|
Fields
Name | Value | Description |
---|---|---|
Play | 0 | Execute the play command. |
Pause | 1 | Execute the pause command. |
Stop | 2 | Execute the stop command. |
Record | 3 | Execute the record command. |
FastForward | 4 | Execute the fast forward command. |
Rewind | 5 | Execute the rewind command. |
Next | 6 | Execute the next command. |
Previous | 7 | Execute the previous command. |
ChannelUp | 8 | Execute the channel up command. |
ChannelDown | 9 | Execute the channel down command. |
Remarks
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.