Package org.robolectric.shadows
Class ShadowTranslationManager
java.lang.Object
org.robolectric.shadows.ShadowTranslationManager
@Implements(value=android.view.translation.TranslationManager.class,
minSdk=31,
isInAndroidSdk=false)
public class ShadowTranslationManager
extends Object
Shadow for
TranslationManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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)
-