Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowTranslationManager()
-
Method Summary
Modifier and Type Method Description protected Set<TranslationCapability>
getOnDeviceTranslationCapabilities(int sourceFormat, int targetFormat)
void
setOnDeviceTranslationCapabilities(int sourceFormat, int targetFormat, Set<TranslationCapability> capabilities)
-
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)
-