setOnDocumentLongPressListener

Sets a OnDocumentLongPressListener for long press document events. Listener registered with this method will be unregistered automatically in onDetach. Calling this method will replace any previously set listener. You may provide null to switch to the default listener.

Parameters

listener

OnDocumentLongPressListener that should be notified, or null to clear the listener.