共用方式為


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

適用於

另請參閱