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 IAttributedText

interface IAttributedText
Extends com.amazon.apmf.IStandard The structured form of text with zero or more spans(ranges of characters in the text) that can style areas of it differently

Methods

getLength()

i32 getLength()
Returns the length of text content.

Returns

i32 Length of the text content.

getText()

string getText()
Returns the text content as a string.

Returns

string A string containing the text content.

getSpans()

ISpan*[] getSpans()
Returns an array of ISpan objects.

Returns

ISpan*[] An array of ISpan objects.
Last modified on October 29, 2026