Most visited

Recently visited

Added in API level 23

SearchEvent

public class SearchEvent
extends Object

java.lang.Object
   ↳ android.view.SearchEvent


包含有关触发搜索的事件信息的类。

Summary

Public constructors

SearchEvent(InputDevice inputDevice)

创建一个新的搜索事件。

Public methods

InputDevice getInputDevice()

返回触发搜索的 InputDevice

Inherited methods

From class java.lang.Object

Public constructors

SearchEvent

Added in API level 23
SearchEvent (InputDevice inputDevice)

创建一个新的搜索事件。

Parameters
inputDevice InputDevice

Public methods

getInputDevice

Added in API level 23
InputDevice getInputDevice ()

返回触发搜索的 InputDevice

Returns
InputDevice InputDevice the InputDevice that triggered the search.

Hooray!