public static class VoiceInteractor.CompleteVoiceRequest extends VoiceInteractor.Request
Intent.FLAG_ACTIVITY_NEW_TASK
to keep the new activity out of the current voice
interaction task.Constructor and Description |
---|
CompleteVoiceRequest(CharSequence message,
Bundle extras)
Create a new completed voice interaction request.
|
CompleteVoiceRequest(VoiceInteractor.Prompt prompt,
Bundle extras)
Create a new completed voice interaction request.
|
Modifier and Type | Method and Description |
---|---|
void |
onCompleteResult(Bundle result) |
cancel, getActivity, getContext, getName, onAttached, onCancel, onDetached, toString
public CompleteVoiceRequest(VoiceInteractor.Prompt prompt, Bundle extras)
prompt
- Optional message to speak to the user about the completion status of
the task or null if nothing should be spoken.extras
- Additional optional information or null.public CompleteVoiceRequest(CharSequence message, Bundle extras)
message
- Optional message to speak to the user about the completion status of
the task or null if nothing should be spoken.extras
- Additional optional information or null.public void onCompleteResult(Bundle result)