VoiceInteractor.CommandRequest.OnCommandResult(Boolean, Bundle) Method

Definition

Results for CommandRequest can be returned in partial chunks.

[Android.Runtime.Register("onCommandResult", "(ZLandroid/os/Bundle;)V", "GetOnCommandResult_ZLandroid_os_Bundle_Handler", ApiSince=23)]
public virtual void OnCommandResult(bool isCompleted, Android.OS.Bundle? result);
[<Android.Runtime.Register("onCommandResult", "(ZLandroid/os/Bundle;)V", "GetOnCommandResult_ZLandroid_os_Bundle_Handler", ApiSince=23)>]
abstract member OnCommandResult : bool * Android.OS.Bundle -> unit
override this.OnCommandResult : bool * Android.OS.Bundle -> unit

Parameters

isCompleted
Boolean

boolean

result
Bundle

Bundle

Attributes

Remarks

Results for CommandRequest can be returned in partial chunks. The isCompleted is set to true iff all results have been returned, indicating the CommandRequest has completed.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

Android reference for android.app.VoiceInteractor.CommandRequest.onCommandResult.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to