Interface ISetPageable
interface ISetPageable
Extends com.amazon.apmf.IStandard
This interface allows a publisher to describe a pageable component.
Methods
pageCount()
Set the total number of pages of content.voidpageCount(i32count)
Parameters
count
i32 — Required
the total number of pages
currentPage()
Set the index of the current page.voidcurrentPage(i32currentPage)
Parameters
currentPage
i32 — Required
the index of the current page.
direction()
Set the directions in which this component can page.voiddirection(PageDirectiondirection)
Parameters
direction
PageDirection — Required
the directions in which this component can page.
navigation()
Set how the user may navigate with the content by swiping on the screen.voidnavigation(NavigationTypenavigation)
Parameters
navigation
NavigationType — Required
the navigation type.
forwardFunction()
Set a function to call when the client requests to forward to the next page.voidforwardFunction(ICallbackFunction*forwardFunction)
Parameters
forwardFunction
ICallbackFunction* — Required
the function to call when the client requests to
forward to the next page.
backwardFunction()
Set a function to call when the client requests to backward to the previous page.voidbackwardFunction(ICallbackFunction*backFunction)
Parameters
backFunction
ICallbackFunction* — Required
the function to call when the client requests to
backward to the previous page.

