次の方法で共有


SearchManager.SetOnDismissListener(SearchManager+IOnDismissListener) Method

Definition

Set or clear the callback that will be invoked whenever the search UI is dismissed.

[Android.Runtime.Register("setOnDismissListener", "(Landroid/app/SearchManager$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_app_SearchManager_OnDismissListener_Handler")]
public virtual void SetOnDismissListener (Android.App.SearchManager.IOnDismissListener? listener);
[<Android.Runtime.Register("setOnDismissListener", "(Landroid/app/SearchManager$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_app_SearchManager_OnDismissListener_Handler")>]
abstract member SetOnDismissListener : Android.App.SearchManager.IOnDismissListener -> unit
override this.SetOnDismissListener : Android.App.SearchManager.IOnDismissListener -> unit

Parameters

listener
SearchManager.IOnDismissListener

The OnDismissListener to use, or null.

Attributes

Remarks

Java documentation for android.app.SearchManager.setOnDismissListener(android.content.OnDismissListener).

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