Class ShadowTranslationManager

java.lang.Object
org.robolectric.shadows.ShadowTranslationManager

@Implements(value=android.view.translation.TranslationManager.class, minSdk=31) public class ShadowTranslationManager extends Object
Shadow for TranslationManager.
  • Constructor Details

    • ShadowTranslationManager

      public ShadowTranslationManager()
  • Method Details

    • getOnDeviceTranslationCapabilities

      @Implementation protected Set<TranslationCapability> getOnDeviceTranslationCapabilities(int sourceFormat, int targetFormat)
    • setOnDeviceTranslationCapabilities

      public void setOnDeviceTranslationCapabilities(int sourceFormat, int targetFormat, Set<TranslationCapability> capabilities)