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 ICaptioningPreferencesManager

interface ICaptioningPreferencesManager
Extends com.amazon.apmf.IStandard The ICaptioningPreferencesManager interface provides APIs to adjust captioning preferences.

Methods

setTextSize()

void setTextSize(com.amazon.kepler.a11y.settings.TextSize size)
Set the text size.

Parameters

size
com.amazon.kepler.a11y.settings.TextSize — Required the new text size.

setTextColor()

void setTextColor(com.amazon.kepler.a11y.settings.Color color)
Set the text color.

Parameters

color
com.amazon.kepler.a11y.settings.Color — Required the new text color.

setTextFont()

void setTextFont(com.amazon.kepler.a11y.settings.Font font)
Set the text font.

Parameters

font
com.amazon.kepler.a11y.settings.Font — Required the new text font.

setTextEdgeStyle()

void setTextEdgeStyle(com.amazon.kepler.a11y.settings.EdgeStyle style)
Set the text edge style.

Parameters

style
com.amazon.kepler.a11y.settings.EdgeStyle — Required the new text edge style.

setTextOpacity()

void setTextOpacity(com.amazon.kepler.a11y.settings.Opacity opacity)
Set the text opacity.

Parameters

opacity
com.amazon.kepler.a11y.settings.Opacity — Required the new text opacity.

setTextBackgroundColor()

void setTextBackgroundColor(com.amazon.kepler.a11y.settings.Color color)
Set the text background color.

Parameters

color
com.amazon.kepler.a11y.settings.Color — Required the new text background color.

setTextBackgroundOpacity()

void setTextBackgroundOpacity(com.amazon.kepler.a11y.settings.Opacity opacity)
Set the text background opacity.

Parameters

opacity
com.amazon.kepler.a11y.settings.Opacity — Required the new text background opacity.

setWindowBackgroundColor()

void setWindowBackgroundColor(com.amazon.kepler.a11y.settings.Color color)
Set the window background color.

Parameters

color
com.amazon.kepler.a11y.settings.Color — Required the new window background color.

setWindowBackgroundOpacity()

void setWindowBackgroundOpacity(com.amazon.kepler.a11y.settings.Opacity opacity)
Set the window background opacity.

Parameters

opacity
com.amazon.kepler.a11y.settings.Opacity — Required the new window background opacity.
Last modified on October 29, 2026