CallControl.AudioTransferRequested 事件

定义

当设备收到音频传输请求时发生。

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 

事件类型

注解

此类提供对事件的访问权限,这些事件可以监视并用于修改电话感知应用的行为。 以下 JavaScript 代码片段演示如何将事件侦听器添加到 CallControl 类,然后响应其中一个事件 AudioTransferRequested

适用于

另请参阅