Поделиться через


VoiceCommandServiceConnection.VoiceCommandCompleted Событие

Определение

Событие, возникает при завершении голосовой команды и завершении работы фоновой службы приложений.

// 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) 

Тип события

Применяется к

См. также раздел