-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class AndroidInfoModule extends NativePlatformConstantsAndroidSpec implements TurboModule
Module that exposes Android Constants to JS.
-
-
Constructor Summary
Constructors Constructor Description AndroidInfoModule(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description String
getName()
Map<String, Object>
getTypedExportedConstants()
String
getAndroidID()
void
invalidate()
The CatalystInstance is going away with Venice. -
Methods inherited from class com.facebook.fbreact.specs.NativePlatformConstantsAndroidSpec
getConstants
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, hasConstants, initialize, onCatalystInstanceDestroy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AndroidInfoModule
AndroidInfoModule(ReactApplicationContext reactContext)
-
-
Method Detail
-
getTypedExportedConstants
@Nullable() Map<String, Object> getTypedExportedConstants()
-
getAndroidID
String getAndroidID()
-
invalidate
void invalidate()
The CatalystInstance is going away with Venice. Therefore, the TurboModule infra introduces theinvalidate() method to allow NativeModules to clean up after themselves.
-
-
-
-