Android APIs
public class

SearchEvent

extends Object
java.lang.Object
   ↳ android.view.SearchEvent

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SearchEvent (InputDevice inputDevice)

Added in API level 23

Create a new search event.

Public Methods

public InputDevice getInputDevice ()

Added in API level 23

Returns the InputDevice that triggered the search.

Returns
  • InputDevice the InputDevice that triggered the search.