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 boolean
void
setEnabled
(boolean enabled) Sets the enabled state of the captioning manager.void
Sets the preferred locale of the captioning manager.protected void
setSystemAudioCaptioningEnabled
(boolean isEnabled) protected void
setSystemAudioCaptioningUiEnabled
(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
.
-