CallControl.AudioTransferRequested Event
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.
Occurs when the device receives a request for an audio transfer.
public:
virtual event CallControlEventHandler ^ AudioTransferRequested;
// Register
event_token AudioTransferRequested(CallControlEventHandler const& handler) const;
// Revoke with event_token
void AudioTransferRequested(event_token const* cookie) const;
// Revoke with event_revoker
CallControl::AudioTransferRequested_revoker AudioTransferRequested(auto_revoke_t, CallControlEventHandler const& handler) const;
public event CallControlEventHandler AudioTransferRequested;
function onAudioTransferRequested(eventArgs) { /* Your code */ }
callControl.addEventListener("audiotransferrequested", onAudioTransferRequested);
callControl.removeEventListener("audiotransferrequested", onAudioTransferRequested);
- or -
callControl.onaudiotransferrequested = onAudioTransferRequested;
Public Custom Event AudioTransferRequested As CallControlEventHandler
Event Type
Remarks
This class provides access to events that can be monitored and used for modifying the behavior of your telephony-aware app. The following JavaScript code snippet shows how to add event listeners to the CallControl class, and then to respond to one of the events, AudioTransferRequested.