AbortVoiceRequest
class AbortVoiceRequest : VoiceInteractionSession.Request
| kotlin.Any | ||
| ↳ | android.service.voice.VoiceInteractionSession.Request | |
| ↳ | android.service.voice.VoiceInteractionSession.AbortVoiceRequest | |
A request to report that the current user interaction can not be completed with voice, as per VoiceInteractor.AbortVoiceRequest.
Summary
| Public methods | |
|---|---|
| CharSequence? |
Return the message informing the user of the problem, as per |
| VoiceInteractor.Prompt? |
Return the message informing the user of the problem, as per |
| Unit |
sendAbortResult(result: Bundle!)Report that the voice interactor has finished aborting 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 problem, as per VoiceInteractor.AbortVoiceRequest.
| Return | |
|---|---|
CharSequence? |
This value may be null. |
getVoicePrompt
fun getVoicePrompt(): VoiceInteractor.Prompt?
Return the message informing the user of the problem, as per VoiceInteractor.AbortVoiceRequest.
| Return | |
|---|---|
VoiceInteractor.Prompt? |
This value may be null. |
sendAbortResult
fun sendAbortResult(result: Bundle!): Unit
Report that the voice interactor has finished aborting the voice operation, resulting in a call to VoiceInteractor.AbortVoiceRequest.onAbortResult. This finishes the request (it is no longer active).