SearchManager.IOnDismissListener.OnDismiss Method

Definition

This method will be called when the search UI is dismissed.

[Android.Runtime.Register("onDismiss", "()V", "GetOnDismissHandler:Android.App.SearchManager/IOnDismissListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDismiss ();
[<Android.Runtime.Register("onDismiss", "()V", "GetOnDismissHandler:Android.App.SearchManager/IOnDismissListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDismiss : unit -> unit
Attributes

Remarks

This method will be called when the search UI is dismissed. To make use of it, you must implement this method in your activity, and call SearchManager#setOnDismissListener to register it.

Java documentation for android.app.SearchManager.OnDismissListener.onDismiss().

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