SetAutoPickOneChoice Method

WRAPPER_API void SetAutoPickOneChoice(bool autoPickOneChoice)

 

Description

If the AutoPickOneChoice method is set to true, and there is only one possible choice of object available to the user, the dialog is not shown.  Instead the only available choice is returned from the Show() method.  The number of possible object options can be limited using the DataView class and custom search callbacks.  It can also be limited with the area of use provided in the constructor of the Picker.