-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class StatusBarModule extends NativeStatusBarManagerAndroidSpec
NativeModule that allows changing the appearance of the status bar.
-
-
Constructor Summary
Constructors Constructor Description StatusBarModule(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description String
getName()
Map<String, Object>
getTypedExportedConstants()
void
setColor(double colorDouble, boolean animated)
void
setTranslucent(boolean translucent)
void
setHidden(boolean hidden)
void
setStyle(@Nullable() String style)
-
Methods inherited from class com.facebook.fbreact.specs.NativeStatusBarManagerAndroidSpec
getConstants, setColor, setHidden, setStyle, setTranslucent
-
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
-
StatusBarModule
StatusBarModule(ReactApplicationContext reactContext)
-
-
Method Detail
-
getTypedExportedConstants
@Nullable() Map<String, Object> getTypedExportedConstants()
-
setColor
void setColor(double colorDouble, boolean animated)
-
setTranslucent
void setTranslucent(boolean translucent)
-
setHidden
void setHidden(boolean hidden)
-
-
-
-