Udostępnij za pośrednictwem


Activity.SearchEvent Property

Definition

During the onSearchRequested() callbacks, this function will return the SearchEvent that triggered the callback, if it exists.

public Android.Views.SearchEvent? SearchEvent { [Android.Runtime.Register("getSearchEvent", "()Landroid/view/SearchEvent;", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getSearchEvent", "()Landroid/view/SearchEvent;", "", ApiSince=23)>]
member this.SearchEvent : Android.Views.SearchEvent

Property Value

SearchEvent The SearchEvent that triggered the #onSearchRequested callback.

Attributes

Remarks

During the onSearchRequested() callbacks, this function will return the SearchEvent that triggered the callback, if it exists.

Java documentation for android.app.Activity.getSearchEvent().

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