Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ISetPageable

interface ISetPageable
Extends com.amazon.apmf.IStandard This interface allows a publisher to describe a pageable component.

Methods

pageCount()

void pageCount(i32 count)
Set the total number of pages of content.

Parameters

count
i32 — Required the total number of pages

currentPage()

void currentPage(i32 currentPage)
Set the index of the current page.

Parameters

currentPage
i32 — Required the index of the current page.

direction()

void direction(PageDirection direction)
Set the directions in which this component can page.

Parameters

direction
PageDirection — Required the directions in which this component can page.
void navigation(NavigationType navigation)
Set how the user may navigate with the content by swiping on the screen.

Parameters

navigation
NavigationType — Required the navigation type.

forwardFunction()

void forwardFunction(ICallbackFunction* forwardFunction)
Set a function to call when the client requests to forward to the next page.

Parameters

forwardFunction
ICallbackFunction* — Required the function to call when the client requests to forward to the next page.

backwardFunction()

void backwardFunction(ICallbackFunction* backFunction)
Set a function to call when the client requests to backward to the previous page.

Parameters

backFunction
ICallbackFunction* — Required the function to call when the client requests to backward to the previous page.
Last modified on October 29, 2026