EventsListener mixin
Listener interface that can registered in SDK to receive general callback calls.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doRegisterBitmaps(
) → Future - Callback method that gets called when the core asks the app to register bitmaps to draw contents into.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onChapterLoaded(
int chapterIndex) → void -
Callback method that gets called when a chapter is loaded, parsed and is ready to be rendered.
chapterIndexis the chapter's index (starting with 0) -
onContentUpdated(
dynamic position) → void -
Callback method that gets called when the core has rendered open of the page (current page, previous page or next page).
positionargument specifies the updated page. -
onContentUpdatedWithBounds(
dynamic position, Rect bounds) → void -
Callback method that gets called when the core has rendered open of the page (current page, previous page or next page).
Also contains content area bounds.
positionargument specifies the updated page.boundscontent area. -
onInitializationComplete(
) → void - Callback method that gets called when the core is initialised.
-
onLinkClicked(
String url) → void -
Callback method that gets called when tap event occured on the
url. -
onPagesCounted(
int pageCount) → void -
Callback method that gets called when the native core has parsed the chapters and calculated the
pageCount. -
onPerformanceReportCompleted(
String report) → void -
Callback method that gets called when the native core has finished the
report, request by the getPerformanceReport() call. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited