@@ -127,7 +127,10 @@ export default config;
127127* [ ` hide(...) ` ] ( #hide )
128128* [ ` getInfo() ` ] ( #getinfo )
129129* [ ` setOverlaysWebView(...) ` ] ( #setoverlayswebview )
130+ * [ ` addListener('statusBarVisibilityChanged', ...) ` ] ( #addlistenerstatusbarvisibilitychanged- )
131+ * [ ` addListener('statusBarOverlayChanged', ...) ` ] ( #addlistenerstatusbaroverlaychanged- )
130132* [ Interfaces] ( #interfaces )
133+ * [ Type Aliases] ( #type-aliases )
131134* [ Enums] ( #enums )
132135
133136</docgen-index >
@@ -243,6 +246,48 @@ Not available on Android 15+.
243246--------------------
244247
245248
249+ ### addListener('statusBarVisibilityChanged', ...)
250+
251+ ``` typescript
252+ addListener (eventName : ' statusBarVisibilityChanged' , listenerFunc : VisibilityChangeListener ) => Promise < PluginListenerHandle >
253+ ```
254+
255+ Listen for status bar visibility changes.
256+ Fired when hide or show methods get called.
257+
258+ | Param | Type |
259+ | ------------------ | ----------------------------------------------------------------------------- |
260+ | ** ` eventName ` ** | <code >'statusBarVisibilityChanged'</code > |
261+ | ** ` listenerFunc ` ** | <code ><a href =" #visibilitychangelistener " >VisibilityChangeListener</a ></code > |
262+
263+ ** Returns:** <code >Promise< ; <a href =" #pluginlistenerhandle " >PluginListenerHandle</a >> ; </code >
264+
265+ ** Since:** 7.0.0
266+
267+ --------------------
268+
269+
270+ ### addListener('statusBarOverlayChanged', ...)
271+
272+ ``` typescript
273+ addListener (eventName : ' statusBarOverlayChanged' , listenerFunc : OverlayChangeListener ) => Promise < PluginListenerHandle >
274+ ```
275+
276+ Listen for status bar overlay changes.
277+ Fired when setOverlaysWebView gets called.
278+
279+ | Param | Type |
280+ | ------------------ | ----------------------------------------------------------------------- |
281+ | ** ` eventName ` ** | <code >'statusBarOverlayChanged'</code > |
282+ | ** ` listenerFunc ` ** | <code ><a href =" #overlaychangelistener " >OverlayChangeListener</a ></code > |
283+
284+ ** Returns:** <code >Promise< ; <a href =" #pluginlistenerhandle " >PluginListenerHandle</a >> ; </code >
285+
286+ ** Since:** 7.0.0
287+
288+ --------------------
289+
290+
246291### Interfaces
247292
248293
@@ -269,12 +314,13 @@ Not available on Android 15+.
269314
270315#### StatusBarInfo
271316
272- | Prop | Type | Description | Since |
273- | -------------- | --------------------------------------- | ----------------------------------------- | ----- |
274- | ** ` visible ` ** | <code >boolean</code > | Whether the status bar is visible or not. | 1.0.0 |
275- | ** ` style ` ** | <code ><a href =" #style " >Style</a ></code > | The current status bar style. | 1.0.0 |
276- | ** ` color ` ** | <code >string</code > | The current status bar color. | 1.0.0 |
277- | ** ` overlays ` ** | <code >boolean</code > | Whether the statusbar is overlaid or not. | 1.0.0 |
317+ | Prop | Type | Description | Since |
318+ | -------------- | --------------------------------------- | ------------------------------------------ | ----- |
319+ | ** ` visible ` ** | <code >boolean</code > | Whether the status bar is visible or not. | 1.0.0 |
320+ | ** ` style ` ** | <code ><a href =" #style " >Style</a ></code > | The current status bar style. | 1.0.0 |
321+ | ** ` color ` ** | <code >string</code > | The current status bar color. | 1.0.0 |
322+ | ** ` overlays ` ** | <code >boolean</code > | Whether the status bar is overlaid or not. | 1.0.0 |
323+ | ** ` height ` ** | <code >number</code > | The height of the status bar. | 7.0.0 |
278324
279325
280326#### SetOverlaysWebViewOptions
@@ -284,6 +330,26 @@ Not available on Android 15+.
284330| ** ` overlay ` ** | <code >boolean</code > | Whether to overlay the status bar or not. | 1.0.0 |
285331
286332
333+ #### PluginListenerHandle
334+
335+ | Prop | Type |
336+ | ------------ | ----------------------------------------- |
337+ | ** ` remove ` ** | <code >() => ; Promise< ; void> ; </code > |
338+
339+
340+ ### Type Aliases
341+
342+
343+ #### VisibilityChangeListener
344+
345+ <code >(info: <a href =" #statusbarinfo " >StatusBarInfo</a >): void</code >
346+
347+
348+ #### OverlayChangeListener
349+
350+ <code >(info: <a href =" #statusbarinfo " >StatusBarInfo</a >): void</code >
351+
352+
287353### Enums
288354
289355
0 commit comments