Share via


AccessoryManager.PerformMediaPlaybackCommand(PlaybackCommand) Method

Definition

Performs an action on the media stream.

public:
 static void PerformMediaPlaybackCommand(PlaybackCommand command);
 static void PerformMediaPlaybackCommand(PlaybackCommand const& command);
public static void PerformMediaPlaybackCommand(PlaybackCommand command);
function performMediaPlaybackCommand(command)
Public Shared Sub PerformMediaPlaybackCommand (command As PlaybackCommand)

Parameters

command
PlaybackCommand

One of the enumeration values: Play, Pause, Stop, Previous, FastForward, Next, etc.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to