Assistant.getCurrentPage

int getCurrentPage()

Returns the page number of the current page.

Returns

The index (starting from 0) of the current

page in the assistant, or -1 if the assistant has no pages, or no current page.