Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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

Public constructors

SearchEvent

added in API level 23
public SearchEvent (InputDevice inputDevice)

Create a new search event.

Parameters
inputDevice InputDevice

Public methods

getInputDevice

added in API level 23
public InputDevice getInputDevice ()

Returns the InputDevice that triggered the search.

Returns
InputDevice InputDevice the InputDevice that triggered the search.