Class ShadowCaptioningManager

java.lang.Object
org.robolectric.shadows.ShadowCaptioningManager

@Implements(android.view.accessibility.CaptioningManager.class) public class ShadowCaptioningManager extends Object
  • Constructor Details

    • ShadowCaptioningManager

      public ShadowCaptioningManager()
  • Method Details

    • setSystemAudioCaptioningEnabled

      @Implementation(minSdk=33) protected void setSystemAudioCaptioningEnabled(boolean isEnabled)
    • setSystemAudioCaptioningUiEnabled

      @Implementation(minSdk=33) protected void setSystemAudioCaptioningUiEnabled(boolean isEnabled)
    • isSystemAudioCaptioningUiEnabled

      @Implementation(minSdk=33) protected boolean isSystemAudioCaptioningUiEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets the enabled state of the captioning manager.
    • setLocale

      public void setLocale(Locale locale)
      Sets the preferred locale of the captioning manager.
      Parameters:
      locale - The Locale.