Added in API level 23
  
  
  
  
  
   
  
  
  
  
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   | 
  
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. |