Share via


PhoneCall.SendDtmfKey(DtmfKey, DtmfToneAudioPlayback) Method

Definition

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

public:
 virtual PhoneCallOperationStatus SendDtmfKey(DtmfKey key, DtmfToneAudioPlayback dtmfToneAudioPlayback) = SendDtmfKey;
PhoneCallOperationStatus SendDtmfKey(DtmfKey const& key, DtmfToneAudioPlayback const& dtmfToneAudioPlayback);
public PhoneCallOperationStatus SendDtmfKey(DtmfKey key, DtmfToneAudioPlayback dtmfToneAudioPlayback);
function sendDtmfKey(key, dtmfToneAudioPlayback)
Public Function SendDtmfKey (key As DtmfKey, dtmfToneAudioPlayback As DtmfToneAudioPlayback) As 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

A PhoneCallOperationStatus object representing the status of the phone call.

Windows requirements

App capabilities
phoneCall

Applies to