public abstract static class CaptioningManager.CaptioningChangeListener extends Object
Constructor and Description |
---|
CaptioningChangeListener() |
Modifier and Type | Method and Description |
---|---|
void |
onEnabledChanged(boolean enabled)
Called when the captioning enabled state changes.
|
void |
onFontScaleChanged(float fontScale)
Called when the captioning font scaling factor changes.
|
void |
onLocaleChanged(Locale locale)
Called when the captioning locale changes.
|
void |
onUserStyleChanged(CaptioningManager.CaptionStyle userStyle)
Called when the captioning user style changes.
|
public void onEnabledChanged(boolean enabled)
enabled
- the user's new preferred captioning enabled statepublic void onUserStyleChanged(CaptioningManager.CaptionStyle userStyle)
userStyle
- the user's new preferred styleCaptioningManager.getUserStyle()
public void onLocaleChanged(Locale locale)
locale
- the preferred captioning locale, or null
if not specifiedCaptioningManager.getLocale()
public void onFontScaleChanged(float fontScale)
fontScale
- the preferred font scaling factorCaptioningManager.getFontScale()