Udostępnij za pośrednictwem


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

Java documentation for android.app.VoiceInteractor.CommandRequest.onCommandResult(boolean, android.os.Bundle).

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