Most visited

Recently visited

Added in API level 23

SearchEvent

public class SearchEvent
extends Object

java.lang.Object
   ↳ android.view.SearchEvent


Class that contains information about an event that triggers a search.

Summary

Public constructors

SearchEvent(InputDevice inputDevice)

Create a new search event.

Public methods

InputDevice getInputDevice()

Returns the InputDevice that triggered the search.

Inherited methods

From class java.lang.Object

Public constructors

SearchEvent

Added in API level 23
SearchEvent (InputDevice inputDevice)

Create a new search event.

Parameters
inputDevice InputDevice

Public methods

getInputDevice

Added in API level 23
InputDevice getInputDevice ()

Returns the InputDevice that triggered the search.

Returns
InputDevice InputDevice the InputDevice that triggered the search.

Hooray!