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!