Share via


PhoneCall.ChangeAudioDeviceAsync(PhoneCallAudioDevice) Method

Definition

Asynchronously sets a hands-free (HF) phone call audio device.

public:
 virtual IAsyncOperation<PhoneCallOperationStatus> ^ ChangeAudioDeviceAsync(PhoneCallAudioDevice endpoint) = ChangeAudioDeviceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PhoneCallOperationStatus> ChangeAudioDeviceAsync(PhoneCallAudioDevice const& endpoint);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PhoneCallOperationStatus> ChangeAudioDeviceAsync(PhoneCallAudioDevice endpoint);
function changeAudioDeviceAsync(endpoint)
Public Function ChangeAudioDeviceAsync (endpoint As PhoneCallAudioDevice) As IAsyncOperation(Of PhoneCallOperationStatus)

Parameters

Returns

Attributes

Windows requirements

App capabilities
phoneCall

Applies to