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 ISetTextSelection

interface ISetTextSelection
Extends com.amazon.apmf.IStandard An interface allowing text selection offsets to be set.

Methods

selection()

void selection(i32 start, i32 end)
Set the text selection. Selection start and end offsets are inclusive. To set the cursor position, use start and end offsets which are equal.

Parameters

start
i32 — Required the character offset of the start of the selection.
end
i32 — Required the character offset of the end of the selection
Last modified on October 29, 2026