SearchManager.SetOnCancelListener(SearchManager+IOnCancelListener) 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.
Set or clear the callback that will be invoked whenever the search UI is canceled.
[Android.Runtime.Register("setOnCancelListener", "(Landroid/app/SearchManager$OnCancelListener;)V", "GetSetOnCancelListener_Landroid_app_SearchManager_OnCancelListener_Handler")]
public virtual void SetOnCancelListener (Android.App.SearchManager.IOnCancelListener? listener);
[<Android.Runtime.Register("setOnCancelListener", "(Landroid/app/SearchManager$OnCancelListener;)V", "GetSetOnCancelListener_Landroid_app_SearchManager_OnCancelListener_Handler")>]
abstract member SetOnCancelListener : Android.App.SearchManager.IOnCancelListener -> unit
override this.SetOnCancelListener : Android.App.SearchManager.IOnCancelListener -> unit
Parameters
- listener
- SearchManager.IOnCancelListener
The OnCancelListener
to use, or null.
- Attributes
Remarks
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.