public static final class VoiceInteractionSession.CompleteVoiceRequest extends VoiceInteractionSession.Request
VoiceInteractor.CompleteVoiceRequest
.Modifier and Type | Method and Description |
---|---|
CharSequence |
getMessage()
Deprecated.
Prefer
getVoicePrompt() which allows a separate visual message. |
VoiceInteractor.Prompt |
getVoicePrompt()
Return the message informing the user of the completion, as per
VoiceInteractor.CompleteVoiceRequest . |
void |
sendCompleteResult(Bundle result)
Report that the voice interactor has finished completing the voice operation, resulting
in a call to
VoiceInteractor.CompleteVoiceRequest.onCompleteResult . |
cancel, getCallingPackage, getCallingUid, getExtras, isActive, toString
public VoiceInteractor.Prompt getVoicePrompt()
VoiceInteractor.CompleteVoiceRequest
.public CharSequence getMessage()
getVoicePrompt()
which allows a separate visual message.VoiceInteractor.CompleteVoiceRequest
.public void sendCompleteResult(Bundle result)
VoiceInteractor.CompleteVoiceRequest.onCompleteResult
.
This finishes the request (it is no longer active).