# Print output for @column tags ?> VoiceInteractionSession.CompleteVoiceRequest - Android SDK | Android Developers

Most visited

Recently visited

VoiceInteractionSession.CompleteVoiceRequest

public static final class VoiceInteractionSession.CompleteVoiceRequest
extends VoiceInteractionSession.Request

java.lang.Object
   ↳ 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 getMessage()

This method is 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.

Inherited methods

Public methods

getMessage

public CharSequence getMessage ()

This method is deprecated.
Prefer getVoicePrompt() which allows a separate visual message.

Return the message informing the user of the completion, as per VoiceInteractor.CompleteVoiceRequest.

Returns
CharSequence This value may be null.

getVoicePrompt

public VoiceInteractor.Prompt getVoicePrompt ()

Return the message informing the user of the completion, as per VoiceInteractor.CompleteVoiceRequest.

Returns
VoiceInteractor.Prompt This value may be null.

sendCompleteResult

public void sendCompleteResult (Bundle result)

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).

Parameters
result Bundle