SkyEpub SDK for iOS 7
 All Classes Functions Variables Properties
Instance Methods | List of all members
<ReflowableViewControllerDelegate> Protocol Referenceabstract

#import <ReflowableViewController.h>

Inheritance diagram for <ReflowableViewControllerDelegate>:

Instance Methods

(void) - reflowableViewController:didSelectRange:startRect:endRect:
 
(void) - reflowableViewController:didDetectTapAtPosition:
 
(void) - reflowableViewController:didDetectDoubleTapAtPosition:
 
(void) - reflowableViewController:pageMoved:
 
(void) - reflowableViewController:didSearchKey:
 
(void) - reflowableViewController:didFinishSearchForChapter:
 
(void) - reflowableViewController:didFinishSearchAll:
 
(void) - reflowableViewController:didStartPaging:
 
(void) - reflowableViewController:didPaging:
 
(void) - reflowableViewController:didFinishPaging:
 
(void) - reflowableViewController:didChapterLoad:
 
(void) - reflowableViewController:parallelDidStart:
 
(void) - reflowableViewController:parallelDidEnd:
 
(void) - parallesDidEnd:
 
(void) - reflowableViewController:didHitHighlight:atPosition:startRect:endRect:
 
(void) - reflowableViewController:didHitLink:
 
(void) - reflowableViewController:didHitImage:
 
(void) - reflowableViewController:didHitLinkForLinearNo:
 
(void) - pageTransitionStarted:
 
(void) - pageTransitionEnded:
 
(void) - reflowableViewController:didSelectionCanceled:
 
(void) - reflowableViewController:didSelectionChanged:
 
(void) - reflowableViewController:didHitBookmark:isBookmarked:
 
(void) - reflowableViewController:drawHighlightRect:context:highlightColor:highlight:
 
(void) - reflowableViewController:failedToMove:
 

Detailed Description

ReflowableViewControllerDelegate is the protocol containing functions which should be implemented to handle the events from ReflowableViewController.

Method Documentation

- (void) parallesDidEnd: (ReflowableViewController *)  rvc
optional

called when playing all parallels finished

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didChapterLoad: (int)  chapterIndex 
optional

called when new chapter is loaded

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didDetectDoubleTapAtPosition: (CGPoint)  position 
optional

called when double tap is detected

Parameters
positionCGPoint object at double tap position
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didDetectTapAtPosition: (CGPoint)  position 
optional

called when single tap is detected

Parameters
positionCGPoint object at tap position
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didFinishPaging: (int)  bookCode 
optional

called when global pagination for all chapters is finished

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didFinishSearchAll: (SearchResult *)  searchResult 
optional

called when all search process is finihsed

Parameters
searchResultSearchResult object.
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didFinishSearchForChapter: (SearchResult *)  searchResult 
optional

called when search process for one chapter is finished

Parameters
searchResultSearchResult object.
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didHitHighlight: (Highlight *)  highlight
atPosition: (CGPoint)  position
startRect: (CGRect)  startRect
endRect: (CGRect)  endRect 
optional

called when highlight is hit by tap gesture.

Parameters
highlightHighlight object hit by tap gesture.
positionCGPoint at tap position
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didHitImage: (NSString *)  urlString 
optional

called when image is hit by tap gesture.

Parameters
urlStringthe image source hit by tap
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didHitLink: (NSString *)  urlString 
optional

called when link is hit by tap gesture.

Parameters
urlStringthe link address hit by tap
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didHitLinkForLinearNo: (NSString *)  urlString 
optional

called when link for ItemRef which has linear='no' is hit by tap gesture.

Parameters
urlStringthe link address hit by tap
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didPaging: (PagingInformation *)  pagingInformation 
optional

called when paginating one chapter is over.

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didSearchKey: (SearchResult *)  searchResult 
optional

called when the key is found.

Parameters
searchResultSearchResult object.
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didSelectionCanceled: (NSString *)  lastSelectedText 
optional

called when text selection is cancelled

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didSelectionChanged: (NSString *)  selectedText 
optional

called when seletected text is changed

- (void) reflowableViewController: (ReflowableViewController *)  rvc
didSelectRange: (Highlight *)  highlight
startRect: (CGRect)  startRect
endRect: (CGRect)  endRect 
optional

called when text selection is finished.

Parameters
highlightHighlight object
startRectCGRect for the first line range of selection area.
endRectCGRect for the last line range of selection area
- (void) reflowableViewController: (ReflowableViewController *)  rvc
didStartPaging: (int)  bookCode 
optional

called when global pagination for all chapters is started

- (void) reflowableViewController: (ReflowableViewController *)  rvc
failedToMove: (BOOL)  toForward 
optional

called when user tries to go to the previous page at the first of book or to go to the next page at the last of book.

- (void) reflowableViewController: (ReflowableViewController *)  rvc
pageMoved: (PageInformation *)  pageInformation 
optional

called when page is moved to or chapter is loaded at first time.

Parameters
pageInformationPageInformation object of current page.
- (void) reflowableViewController: (ReflowableViewController *)  rvc
parallelDidEnd: (Parallel *)  parallel 
optional

called when playing one parallel finished

- (void) reflowableViewController: (ReflowableViewController *)  rvc
parallelDidStart: (Parallel *)  parallel 
optional

called when playing one parallel started


The documentation for this protocol was generated from the following file: