Share via


PhoneCall.SendDtmfKeyAsync(DtmfKey, DtmfToneAudioPlayback) Method

Definition

Asynchronously sends the specified dual tone multi-frequency (DTMF) character to the phone call. Only short tones (burst) are supported.

public:
 virtual IAsyncOperation<PhoneCallOperationStatus> ^ SendDtmfKeyAsync(DtmfKey key, DtmfToneAudioPlayback dtmfToneAudioPlayback) = SendDtmfKeyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PhoneCallOperationStatus> SendDtmfKeyAsync(DtmfKey const& key, DtmfToneAudioPlayback const& dtmfToneAudioPlayback);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PhoneCallOperationStatus> SendDtmfKeyAsync(DtmfKey key, DtmfToneAudioPlayback dtmfToneAudioPlayback);
function sendDtmfKeyAsync(key, dtmfToneAudioPlayback)
Public Function SendDtmfKeyAsync (key As DtmfKey, dtmfToneAudioPlayback As DtmfToneAudioPlayback) As IAsyncOperation(Of PhoneCallOperationStatus)

Parameters

key
DtmfKey

A DtmfKey object representing the DTMF character to send.

dtmfToneAudioPlayback
DtmfToneAudioPlayback

A DtmfToneAudioPlayback object specifying whether or not the audio for the DTMF tones should be played back on the local device.

Returns

An asynchronous operation object which, when it completes, contains a PhoneCallOperationStatus object representing the status of the phone call.

Attributes

Windows requirements

App capabilities
phoneCall

Applies to