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 ISetScrollable

interface ISetScrollable
Extends com.amazon.apmf.IStandard This interface allows publishers to describe scrollable components.

Methods

offset()

void offset(Point offset)
Set the offset of the currently visible region of the scrollable content. This offset is relative to the total scrollable region. the offset is between the first point in the scrollable container’s bounds and the first point in the scrollable region’s limits (in the common rectangle case, the top-left point of each).

Parameters

offset
Point — Required the offset of the currently visible region

limits()

void limits(Point[] limits)
Set the scroll limits. The total region viewable by paging the viewport (this region will likely be much larger than the device’s screen), if the region is infinite, use MAX_INT or MIN_INT for the x or y value of the appropriate coordinates.

Parameters

limits
Point[] — Required the limits of the entire scrollable region.

directions()

void directions(Direction[] directions)
Set the valid scroll directions for this component.

Parameters

directions
Direction[] — Required the list of currently valid scroll directions.

scrollFunction()

void scrollFunction(IScrollFunction* func)
Set the function clients can call to programmatically scroll this component.

Parameters

func
IScrollFunction* — Required the function clients can call to programmatically scroll this component.
Last modified on October 29, 2026