Compartilhar via


AccessoryManager.PerformMediaPlaybackCommand(PlaybackCommand) Método

Definição

Executa uma ação no fluxo de mídia.

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)

Parâmetros

command
PlaybackCommand

Um dos valores de enumeração: Play, Pause, Stop, Previous, FastForward, Next etc.

Requisitos do Windows

Funcionalidades do aplicativo
accessoryManager

Comentários

Chamar essa API requer que os recursos ID_CAP_SMS e ID_CAP_SMS_COMPANION sejam especificados no manifesto do aplicativo.

Aplica-se a