getCurrentPage

open fun getCurrentPage(): Int

Returns the page number of the current page.

Return

The index (starting from 0) of the current page in the @assistant, or -1 if the @assistant has no pages, or no current page