-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class I18nManagerModule extends NativeI18nManagerSpec
NativeModule that allows JS to set allowRTL and get isRTL status.
-
-
Constructor Summary
Constructors Constructor Description I18nManagerModule(ReactApplicationContext context)
-
Method Summary
Modifier and Type Method Description String
getName()
Map<String, Object>
getTypedExportedConstants()
void
allowRTL(boolean value)
void
forceRTL(boolean value)
void
swapLeftAndRightInRTL(boolean value)
-
Methods inherited from class com.facebook.fbreact.specs.NativeI18nManagerSpec
allowRTL, forceRTL, getConstants, swapLeftAndRightInRTL
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
I18nManagerModule
I18nManagerModule(ReactApplicationContext context)
-
-
Method Detail
-
getTypedExportedConstants
Map<String, Object> getTypedExportedConstants()
-
allowRTL
void allowRTL(boolean value)
-
forceRTL
void forceRTL(boolean value)
-
swapLeftAndRightInRTL
void swapLeftAndRightInRTL(boolean value)
-
-
-
-