getCurrentChapterPage method

int getCurrentChapterPage()

Returns the current page in the chapter. Returns 0, if the core is not initialised yet. Returns -1, if the curretn chapter is not ready yet.

Implementation

int getCurrentChapterPage() {
  int? value = getCurrentChapterPageNative?.call(_sdk);

  return value!;
}