AudioDeviceModule.SendCommandAsync(IBuffer) 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.
Asynchronously sends data to the audio device module and receives the result.
public:
virtual IAsyncOperation<ModuleCommandResult ^> ^ SendCommandAsync(IBuffer ^ Command) = SendCommandAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ModuleCommandResult> SendCommandAsync(IBuffer const& Command);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ModuleCommandResult> SendCommandAsync(IBuffer Command);
function sendCommandAsync(Command)
Public Function SendCommandAsync (Command As IBuffer) As IAsyncOperation(Of ModuleCommandResult)
Parameters
- Command
- IBuffer
A buffer containing the command data to send to the audio device module.
Returns
An asynchronous operation the returns a ModuleCommandResult upon successful completion.
- Attributes