Condividi tramite


CallControl.DialRequested Evento

Definizione

Si verifica quando un numero viene composto dal dispositivo.

public:
 virtual event DialRequestedEventHandler ^ DialRequested;
// Register
event_token DialRequested(DialRequestedEventHandler const& handler) const;

// Revoke with event_token
void DialRequested(event_token const* cookie) const;

// Revoke with event_revoker
CallControl::DialRequested_revoker DialRequested(auto_revoke_t, DialRequestedEventHandler const& handler) const;
public event DialRequestedEventHandler DialRequested;
function onDialRequested(eventArgs) { /* Your code */ }
callControl.addEventListener("dialrequested", onDialRequested);
callControl.removeEventListener("dialrequested", onDialRequested);
- or -
callControl.ondialrequested = onDialRequested;
Public Custom Event DialRequested As DialRequestedEventHandler 

Tipo evento

Commenti

Questa classe consente di accedere agli eventi che possono essere monitorati e usati per modificare il comportamento dell'app con riconoscimento della telefonia. Il frammento di codice JavaScript seguente illustra come aggiungere listener di eventi alla classe CallControl e quindi rispondere a uno degli eventi DialRequested.

Si applica a

Vedi anche