Share via


VoipPhoneCall.AnswerRequested Evento

Definizione

Importante

I tipi nello spazio dei nomi Windows.Phone.Networking.Voip sono deprecati e potrebbero non essere disponibili nelle versioni future di Windows. Usare invece i tipi equivalenti nello spazio dei nomi Windows.ApplicationModel.Calls .

Generato quando l'utente risponde a una chiamata in arrivo.

// Register
event_token AnswerRequested(TypedEventHandler<VoipPhoneCall, CallAnswerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
VoipPhoneCall::AnswerRequested_revoker AnswerRequested(auto_revoke_t, TypedEventHandler<VoipPhoneCall, CallAnswerEventArgs const&> const& handler) const;
public event TypedEventHandler<VoipPhoneCall,CallAnswerEventArgs> AnswerRequested;
function onAnswerRequested(eventArgs) { /* Your code */ }
voipPhoneCall.addEventListener("answerrequested", onAnswerRequested);
voipPhoneCall.removeEventListener("answerrequested", onAnswerRequested);
- or -
voipPhoneCall.onanswerrequested = onAnswerRequested;
Public Custom Event AnswerRequested As TypedEventHandler(Of VoipPhoneCall, CallAnswerEventArgs) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
ID_CAP_VOIP [Windows Phone]

Si applica a