Added in API level 23

SearchEvent

open class SearchEvent
kotlin.Any
   ↳ 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
open InputDevice!

Returns the InputDevice that triggered the search.

Public constructors

SearchEvent

Added in API level 23
SearchEvent(inputDevice: InputDevice!)

Create a new search event.

Public methods

getInputDevice

Added in API level 23
open fun getInputDevice(): InputDevice!

Returns the InputDevice that triggered the search.

Return
InputDevice! InputDevice the InputDevice that triggered the search.