public static final class VoiceInteractionSession.ConfirmationRequest extends VoiceInteractionSession.Request
VoiceInteractor.ConfirmationRequest
.Modifier and Type | Method and Description |
---|---|
CharSequence |
getPrompt()
Deprecated.
Prefer
getVoicePrompt() which allows multiple voice prompts. |
VoiceInteractor.Prompt |
getVoicePrompt()
Return the prompt informing the user of what will happen, as per
VoiceInteractor.ConfirmationRequest . |
void |
sendConfirmationResult(boolean confirmed,
Bundle result)
Report that the voice interactor has confirmed the operation with the user, resulting
in a call to
VoiceInteractor.ConfirmationRequest.onConfirmationResult . |
cancel, getCallingPackage, getCallingUid, getExtras, isActive, toString
public VoiceInteractor.Prompt getVoicePrompt()
VoiceInteractor.ConfirmationRequest
.public CharSequence getPrompt()
getVoicePrompt()
which allows multiple voice prompts.VoiceInteractor.ConfirmationRequest
.public void sendConfirmationResult(boolean confirmed, Bundle result)
VoiceInteractor.ConfirmationRequest.onConfirmationResult
.
This finishes the request (it is no longer active).