Window.ICallback.OnSearchRequested Method

Definition

Overloads

OnSearchRequested()

Called when the user signals the desire to start a search.

OnSearchRequested(SearchEvent)

Called when the user signals the desire to start a search.

OnSearchRequested()

Called when the user signals the desire to start a search.

[Android.Runtime.Register("onSearchRequested", "()Z", "GetOnSearchRequestedHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnSearchRequested ();
[<Android.Runtime.Register("onSearchRequested", "()Z", "GetOnSearchRequestedHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSearchRequested : unit -> bool

Returns

true if search launched, false if activity refuses (blocks)

Attributes

Remarks

Called when the user signals the desire to start a search.

Java documentation for android.view.Window.Callback.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.

See also

Applies to

OnSearchRequested(SearchEvent)

Called when the user signals the desire to start a search.

[Android.Runtime.Register("onSearchRequested", "(Landroid/view/SearchEvent;)Z", "GetOnSearchRequested_Landroid_view_SearchEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public bool OnSearchRequested (Android.Views.SearchEvent searchEvent);
[<Android.Runtime.Register("onSearchRequested", "(Landroid/view/SearchEvent;)Z", "GetOnSearchRequested_Landroid_view_SearchEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnSearchRequested : Android.Views.SearchEvent -> bool

Parameters

searchEvent
SearchEvent

A SearchEvent describing the signal to start a search.

Returns

true if search launched, false if activity refuses (blocks)

Attributes

Remarks

Called when the user signals the desire to start a search.

Java documentation for android.view.Window.Callback.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