BookmarkListener is interface to handle Bookmark related events.
- Author
- skytree
Bitmap com.skytree.epub.BookmarkListener.getBookmarkBitmap |
( |
boolean |
isBookmarked | ) |
|
Bitmap for bookmark should be sent to sdk by getBookmarkBitmap
- Parameters
-
isBookmarked | if true, Bitmap for bookmarked icon should be sent. |
- Returns
- Bitmap Object for Bookmark Icon
Rect com.skytree.epub.BookmarkListener.getBookmarkRect |
( |
boolean |
isBookmarked | ) |
|
Rect information for bookmark should be sent to sdk by getBookmarkRect.
- Parameters
-
isBookmarked | if true, Rect for bookmarked icon area should be sent. |
- Returns
- Rect Object for Bookmark icon area
boolean com.skytree.epub.BookmarkListener.isBookmarked |
( |
PageInformation |
pi | ) |
|
if some position of pageInformation pi is bookmarked, you should send true to sdk.
- Parameters
-
- Returns
- boolean value if the position for pi is bookmarked or not.
void com.skytree.epub.BookmarkListener.onBookmarkHit |
( |
PageInformation |
pi, |
|
|
boolean |
isBookmarked |
|
) |
| |
onBookmarkHit will be fired when user taps on bookmark icon.
- Parameters
-
pi | PageInformation object to have the position of bookmark |
isBookmarked | if this page is bookmarked, isBookmarked is true. |
The documentation for this interface was generated from the following file:
- /Users/skytree/Documents/Projects/workspace/SkyReader/src/com/skytree/epub/BookmarkListener.java