Package org.robolectric.shadows
Class ShadowCaptioningManager
java.lang.Object
org.robolectric.shadows.ShadowCaptioningManager
@Implements(android.view.accessibility.CaptioningManager.class)
public class ShadowCaptioningManager
extends Object
Shadow of
CaptioningManager.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidsetEnabled(boolean enabled) Sets the enabled state of the captioning manager.voidSets the preferred locale of the captioning manager.protected voidsetSystemAudioCaptioningEnabled(boolean isEnabled) protected voidsetSystemAudioCaptioningUiEnabled(boolean isEnabled)
-
Constructor Details
-
ShadowCaptioningManager
public ShadowCaptioningManager()
-
-
Method Details
-
setSystemAudioCaptioningEnabled
-
setSystemAudioCaptioningUiEnabled
-
isSystemAudioCaptioningUiEnabled
-
setEnabled
public void setEnabled(boolean enabled) Sets the enabled state of the captioning manager. -
setLocale
Sets the preferred locale of the captioning manager.- Parameters:
locale- TheLocale.
-