Foxit PDF SDK  9.1
<ITouchEventListener> Protocol Reference

The touch event listener. More...

Inheritance diagram for <ITouchEventListener>:
<FSPDFUIExtensionsManager> UIExtensionsManager

Instance Methods

(BOOL) - onTouchesBegan:withEvent:
 Triggered when the touches began. More...
 
(BOOL) - onTouchesCancelled:withEvent:
 Triggered when the touches has been canceled. More...
 
(BOOL) - onTouchesEnded:withEvent:
 Triggered when the touches has ended. More...
 
(BOOL) - onTouchesMoved:withEvent:
 Triggered when the touches has moved. More...
 

Detailed Description

The touch event listener.

Method Documentation

◆ onTouchesBegan:withEvent:

- (BOOL) onTouchesBegan: (NSSet *)  touches
withEvent: (UIEvent *)  event 
optional

Triggered when the touches began.

Parameters
[in]touchesA UITouch object represent touches event on the screen.
[in]eventA UIEvent object represents an event in iOS.
Returns
YES means the touches has been handled successfully by extensions manager. NO means The extensions manager did not handle the touches.

◆ onTouchesCancelled:withEvent:

- (BOOL) onTouchesCancelled: (NSSet *)  touches
withEvent: (UIEvent *)  event 
optional

Triggered when the touches has been canceled.

Parameters
[in]touchesA UITouch object represent touches event on the screen.
[in]eventA UIEvent object represents an event in iOS.
Returns
YES means the touches has been handled successfully by extensions manager. NO means The extensions manager did not handle the touches.

◆ onTouchesEnded:withEvent:

- (BOOL) onTouchesEnded: (NSSet *)  touches
withEvent: (UIEvent *)  event 
optional

Triggered when the touches has ended.

Parameters
[in]touchesA UITouch object represent touches event on the screen.
[in]eventA UIEvent object represents an event in iOS.
Returns
YES means the touches has been handled successfully by extensions manager. NO means The extensions manager did not handle the touches.

◆ onTouchesMoved:withEvent:

- (BOOL) onTouchesMoved: (NSSet *)  touches
withEvent: (UIEvent *)  event 
optional

Triggered when the touches has moved.

Parameters
[in]touchesA UITouch object represent touches event on the screen.
[in]eventA UIEvent object represents an event in iOS.
Returns
YES means the touches has been handled successfully by extensions manager. NO means The extensions manager did not handle the touches.