VoiceInteractor.PickOptionRequest.OnPickOptionResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a single option is confirmed or narrowed to one of several options.
[Android.Runtime.Register("onPickOptionResult", "(Z[Landroid/app/VoiceInteractor$PickOptionRequest$Option;Landroid/os/Bundle;)V", "GetOnPickOptionResult_ZarrayLandroid_app_VoiceInteractor_PickOptionRequest_Option_Landroid_os_Bundle_Handler", ApiSince=23)]
public virtual void OnPickOptionResult(bool finished, Android.App.VoiceInteractor.PickOptionRequest.Option[]? selections, Android.OS.Bundle? result);
[<Android.Runtime.Register("onPickOptionResult", "(Z[Landroid/app/VoiceInteractor$PickOptionRequest$Option;Landroid/os/Bundle;)V", "GetOnPickOptionResult_ZarrayLandroid_app_VoiceInteractor_PickOptionRequest_Option_Landroid_os_Bundle_Handler", ApiSince=23)>]
abstract member OnPickOptionResult : bool * Android.App.VoiceInteractor.PickOptionRequest.Option[] * Android.OS.Bundle -> unit
override this.OnPickOptionResult : bool * Android.App.VoiceInteractor.PickOptionRequest.Option[] * Android.OS.Bundle -> unit
Parameters
- finished
- Boolean
boolean: True if the voice interaction has finished making a selection, in which case selections contains the final result. If false, this request is still active and you will continue to get calls on it.
- selections
- VoiceInteractor.PickOptionRequest.Option[]
Option: Either a single Option or one of several Options the user has narrowed the choices down to.
- result
- Bundle
Bundle: Additional optional information.
- Attributes
Remarks
Called when a single option is confirmed or narrowed to one of several options. Override this method to define the behavior when the user selects an option or narrows down the set of options.
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.PickOptionRequest.onPickOptionResult.
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.