CompleteVoiceRequest
class CompleteVoiceRequest : VoiceInteractionSession.Request
| kotlin.Any | ||
| ↳ | android.service.voice.VoiceInteractionSession.Request | |
| ↳ | android.service.voice.VoiceInteractionSession.CompleteVoiceRequest | |
A request to simply inform the user that the voice operation has completed, as per  VoiceInteractor.CompleteVoiceRequest.
Summary
| Public methods | |
|---|---|
| CharSequence? | Return the message informing the user of the completion, as per  | 
| VoiceInteractor.Prompt? | Return the message informing the user of the completion, as per  | 
| Unit | sendCompleteResult(result: Bundle!)Report that the voice interactor has finished completing the voice operation, resulting in a call to  | 
| Inherited functions | |
|---|---|
Public methods
getMessage
fungetMessage(): CharSequence?
Deprecated: Prefer getVoicePrompt() which allows a separate visual message.
Return the message informing the user of the completion, as per  VoiceInteractor.CompleteVoiceRequest.
| Return | |
|---|---|
| CharSequence? | This value may be null. | 
getVoicePrompt
fun getVoicePrompt(): VoiceInteractor.Prompt?
Return the message informing the user of the completion, as per  VoiceInteractor.CompleteVoiceRequest.
| Return | |
|---|---|
| VoiceInteractor.Prompt? | This value may be null. | 
sendCompleteResult
fun sendCompleteResult(result: Bundle!): Unit
Report that the voice interactor has finished completing the voice operation, resulting in a call to  VoiceInteractor.CompleteVoiceRequest.onCompleteResult. This finishes the request (it is no longer active).
