Foxit PDF RDK

Public Member Functions | List of all members
FoxitPDFViewCtrl.IPageAutoEventListener Class Reference

## Public Member Functions
| onAutoEventEnd (eventType)
| onAutoEventStart (eventType)
| onScroll (distanceX, distanceY)

## Detailed Description

Interface definition for a listener to handle page auto events.

## Member Function Documentation

## ◆ onAutoEventEnd()

FoxitPDFViewCtrl.IPageAutoEventListener.onAutoEventEnd | ( | eventType |  | ) |

Called when auto event end.

Parameters

  eventType | The type of auto event.

## ◆ onAutoEventStart()

FoxitPDFViewCtrl.IPageAutoEventListener.onAutoEventStart | ( | eventType |  | ) |

Called when auto event start.

Parameters

  eventType | The type of auto event.

## ◆ onScroll()

FoxitPDFViewCtrl.IPageAutoEventListener.onScroll | ( | distanceX | ,
|  | distanceY |
| ) |  |

Called when the roll happens.The distance in x and y is also supplied for convenience.

Parameters

  distanceX | The distance along the X axis that has been scrolled since the last call to onScroll.
  distanceY | The distance along the Y axis that has been scrolled since the last call to onScroll.