epubear_sdk_flutter library

Classes

AudioContent
Container for the audio content callbacks. clipStart and clipEnd are the marks in the file (in relative time).
ContentsNode
Container for the table of contents. parent is the parent entry in tree-like structure. key is the URL that can be used to open corresponding page of the book. value is the text label.
EpubConfig
Configuration class used to initialise epuBear SDK instance.
EpubearSdk
Main SDK class Create epuBear SDK instance with EpubearSdk.create call.
HighlightBox
Selected area for highlights. Contains the map of CFI paths lists of and corresponding rects.
MediaContent
Base class for the media callbacks. paths direct to cached file in storage.
SymbolRect
Symbol with it's coordinates on the screen.
VideoContent
Container for the video content callbacks. rect specifies the screen coordinates to show a video to.

Enums

BitmapPosition
Bitmap position (previous, current or next page)
Metadata
Metadata attribute types.

Mixins

BookmarkListener
Listener interface that can registered in SDK to receive bookmark callback calls.
CfiListener
Listener interface that can registered in SDK to receive cfi callback calls.
EventsListener
Listener interface that can registered in SDK to receive general callback calls.
ImageListener
Listener interface that can registered in SDK to receive image callback calls.
MediaListener
Listener interface that can registered in SDK to receive media callback calls.
SearchListener
Listener interface that can registered in SDK to receive search callback calls.

Properties

initArena Arena
getter/setter pair
nativeSdkLib DynamicLibrary
getter/setter pair

Functions

createBitmaps(int width, int height) Future<int>
destroyBitmaps() Future
draw(dynamic position) Future
getSdkVersion() Future<String>
setEntity(int address) Future
takeScreenshot(String path) Future<bool>