OnContextClickListener


interface OnContextClickListener


Register an OnContextClickListener to be notified when a context click occurs.

Summary

Public functions

Boolean

Called when user performs a context click, usually via mouse pointer right-click.

Public functions

onContextClick

Added in 1.0.0
fun onContextClick(e: MotionEvent): Boolean

Called when user performs a context click, usually via mouse pointer right-click.

Parameters
e: MotionEvent

the event associated with the click.

Returns
Boolean

true if the event was handled.