Added in API level 23
  
  
  
  
Summary:
  Methods
  
GestureDetector.OnContextClickListener
  public
  static
  
  
  interface
  GestureDetector.OnContextClickListener
  
  
  
| android.view.GestureDetector.OnContextClickListener | 
The listener that is used to notify when a context click occurs. When listening for a
 context click ensure that you call GestureDetector.onGenericMotionEvent(android.view.MotionEvent) in
 View.onGenericMotionEvent(MotionEvent).
Summary
Public methods | |
|---|---|
        abstract
        
        
        
        
        boolean
     | 
  
    
      
      onContextClick(MotionEvent e)
      
      
        Notified when a context click occurs.  | 
  
Public methods
onContextClick
    Added in API level 23
  
      
  
    public abstract boolean onContextClick (MotionEvent e)
Notified when a context click occurs.
| Parameters | |
|---|---|
e | 
        
          MotionEvent: The motion event that occurred during the context click.
 This value cannot be null. | 
      
| Returns | |
|---|---|
boolean | 
        true if the event is consumed, else false |