AccessoryManager.PerformMediaPlaybackCommand(PlaybackCommand) Method
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.
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.