Share via


Dialog.OnSearchRequested Method

Definition

Overloads

OnSearchRequested()

This hook is called when the user signals the desire to start a search.

OnSearchRequested(SearchEvent)

This hook is called when the user signals the desire to start a search.

OnSearchRequested()

This hook is called when the user signals the desire to start a search.

[Android.Runtime.Register("onSearchRequested", "()Z", "GetOnSearchRequestedHandler")]
public virtual bool OnSearchRequested ();
[<Android.Runtime.Register("onSearchRequested", "()Z", "GetOnSearchRequestedHandler")>]
abstract member OnSearchRequested : unit -> bool
override this.OnSearchRequested : unit -> bool

Returns

Implements

Attributes

Remarks

This hook is called when the user signals the desire to start a search.

Java documentation for android.app.Dialog.onSearchRequested().

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

OnSearchRequested(SearchEvent)

This hook is called when the user signals the desire to start a search.

[Android.Runtime.Register("onSearchRequested", "(Landroid/view/SearchEvent;)Z", "GetOnSearchRequested_Landroid_view_SearchEvent_Handler", ApiSince=23)]
public virtual bool OnSearchRequested (Android.Views.SearchEvent searchEvent);
[<Android.Runtime.Register("onSearchRequested", "(Landroid/view/SearchEvent;)Z", "GetOnSearchRequested_Landroid_view_SearchEvent_Handler", ApiSince=23)>]
abstract member OnSearchRequested : Android.Views.SearchEvent -> bool
override this.OnSearchRequested : Android.Views.SearchEvent -> bool

Parameters

searchEvent
SearchEvent

Returns

Implements

Attributes

Remarks

This hook is called when the user signals the desire to start a search.

Java documentation for android.app.Dialog.onSearchRequested(android.view.SearchEvent).

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