Share via


PhoneCall.ChangeAudioDevice(PhoneCallAudioDevice) Method

Definition

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

public:
 virtual PhoneCallOperationStatus ChangeAudioDevice(PhoneCallAudioDevice endpoint) = ChangeAudioDevice;
PhoneCallOperationStatus ChangeAudioDevice(PhoneCallAudioDevice const& endpoint);
public PhoneCallOperationStatus ChangeAudioDevice(PhoneCallAudioDevice endpoint);
function changeAudioDevice(endpoint)
Public Function ChangeAudioDevice (endpoint As PhoneCallAudioDevice) As PhoneCallOperationStatus

Parameters

endpoint
PhoneCallAudioDevice

A PhoneCallAudioDevice object representing the audio device to set.

Returns

A PhoneCallOperationStatus object representing the status of the phone call.

Windows requirements

App capabilities
phoneCall

Applies to