Bagikan melalui


VoiceCommandServiceConnection.VoiceCommandCompleted Kejadian

Definisi

Peristiwa muncul ketika perintah suara selesai dan layanan aplikasi latar belakang akan dihentikan.

// Register
event_token VoiceCommandCompleted(TypedEventHandler<VoiceCommandServiceConnection, VoiceCommandCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
VoiceCommandServiceConnection::VoiceCommandCompleted_revoker VoiceCommandCompleted(auto_revoke_t, TypedEventHandler<VoiceCommandServiceConnection, VoiceCommandCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<VoiceCommandServiceConnection,VoiceCommandCompletedEventArgs> VoiceCommandCompleted;
function onVoiceCommandCompleted(eventArgs) { /* Your code */ }
voiceCommandServiceConnection.addEventListener("voicecommandcompleted", onVoiceCommandCompleted);
voiceCommandServiceConnection.removeEventListener("voicecommandcompleted", onVoiceCommandCompleted);
- or -
voiceCommandServiceConnection.onvoicecommandcompleted = onVoiceCommandCompleted;
Public Custom Event VoiceCommandCompleted As TypedEventHandler(Of VoiceCommandServiceConnection, VoiceCommandCompletedEventArgs) 

Jenis Acara

Berlaku untuk

Lihat juga