Share via


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) 

이벤트 유형

적용 대상

추가 정보