Language

VoiceInteractor.ConfirmationRequest.OnConfirmationResult Method

Definition

Handle the confirmation result.

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

Parameters

confirmed
Boolean

boolean: Whether the user confirmed or rejected the operation.

result
Bundle

Bundle: Additional result information or null.

Attributes

Remarks

Handle the confirmation result. Override this method to define the behavior when the user confirms or rejects the operation.

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.ConfirmationRequest.onConfirmationResult.

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