@@ -111,7 +111,10 @@ export default config;
111111* [ ` hide(...) ` ] ( #hide )
112112* [ ` getInfo() ` ] ( #getinfo )
113113* [ ` setOverlaysWebView(...) ` ] ( #setoverlayswebview )
114+ * [ ` addListener('statusBarVisibilityChanged', ...) ` ] ( #addlistenerstatusbarvisibilitychanged- )
115+ * [ ` addListener('statusBarOverlayChanged', ...) ` ] ( #addlistenerstatusbaroverlaychanged- )
114116* [ Interfaces] ( #interfaces )
117+ * [ Type Aliases] ( #type-aliases )
115118* [ Enums] ( #enums )
116119
117120</docgen-index >
@@ -224,6 +227,48 @@ of the space underneath it.
224227--------------------
225228
226229
230+ ### addListener('statusBarVisibilityChanged', ...)
231+
232+ ``` typescript
233+ addListener (eventName : ' statusBarVisibilityChanged' , listenerFunc : VisibilityChangeListener ) => Promise < PluginListenerHandle >
234+ ```
235+
236+ Listen for status bar visibility changes.
237+ Fired when hide or show methods get called.
238+
239+ | Param | Type |
240+ | ------------------ | ----------------------------------------------------------------------------- |
241+ | ** ` eventName ` ** | <code >'statusBarVisibilityChanged'</code > |
242+ | ** ` listenerFunc ` ** | <code ><a href =" #visibilitychangelistener " >VisibilityChangeListener</a ></code > |
243+
244+ ** Returns:** <code >Promise< ; <a href =" #pluginlistenerhandle " >PluginListenerHandle</a >> ; </code >
245+
246+ ** Since:** 7.0.0
247+
248+ --------------------
249+
250+
251+ ### addListener('statusBarOverlayChanged', ...)
252+
253+ ``` typescript
254+ addListener (eventName : ' statusBarOverlayChanged' , listenerFunc : OverlayChangeListener ) => Promise < PluginListenerHandle >
255+ ```
256+
257+ Listen for status bar overlay changes.
258+ Fired when setOverlaysWebView gets called.
259+
260+ | Param | Type |
261+ | ------------------ | ----------------------------------------------------------------------- |
262+ | ** ` eventName ` ** | <code >'statusBarOverlayChanged'</code > |
263+ | ** ` listenerFunc ` ** | <code ><a href =" #overlaychangelistener " >OverlayChangeListener</a ></code > |
264+
265+ ** Returns:** <code >Promise< ; <a href =" #pluginlistenerhandle " >PluginListenerHandle</a >> ; </code >
266+
267+ ** Since:** 7.0.0
268+
269+ --------------------
270+
271+
227272### Interfaces
228273
229274
@@ -250,12 +295,13 @@ of the space underneath it.
250295
251296#### StatusBarInfo
252297
253- | Prop | Type | Description | Since |
254- | -------------- | --------------------------------------- | ----------------------------------------- | ----- |
255- | ** ` visible ` ** | <code >boolean</code > | Whether the status bar is visible or not. | 1.0.0 |
256- | ** ` style ` ** | <code ><a href =" #style " >Style</a ></code > | The current status bar style. | 1.0.0 |
257- | ** ` color ` ** | <code >string</code > | The current status bar color. | 1.0.0 |
258- | ** ` overlays ` ** | <code >boolean</code > | Whether the statusbar is overlaid or not. | 1.0.0 |
298+ | Prop | Type | Description | Since |
299+ | -------------- | --------------------------------------- | ------------------------------------------ | ----- |
300+ | ** ` visible ` ** | <code >boolean</code > | Whether the status bar is visible or not. | 1.0.0 |
301+ | ** ` style ` ** | <code ><a href =" #style " >Style</a ></code > | The current status bar style. | 1.0.0 |
302+ | ** ` color ` ** | <code >string</code > | The current status bar color. | 1.0.0 |
303+ | ** ` overlays ` ** | <code >boolean</code > | Whether the status bar is overlaid or not. | 1.0.0 |
304+ | ** ` height ` ** | <code >number</code > | The height of the status bar. | 7.0.0 |
259305
260306
261307#### SetOverlaysWebViewOptions
@@ -265,6 +311,26 @@ of the space underneath it.
265311| ** ` overlay ` ** | <code >boolean</code > | Whether to overlay the status bar or not. | 1.0.0 |
266312
267313
314+ #### PluginListenerHandle
315+
316+ | Prop | Type |
317+ | ------------ | ----------------------------------------- |
318+ | ** ` remove ` ** | <code >() => ; Promise< ; void> ; </code > |
319+
320+
321+ ### Type Aliases
322+
323+
324+ #### VisibilityChangeListener
325+
326+ <code >(info: <a href =" #statusbarinfo " >StatusBarInfo</a >): void</code >
327+
328+
329+ #### OverlayChangeListener
330+
331+ <code >(info: <a href =" #statusbarinfo " >StatusBarInfo</a >): void</code >
332+
333+
268334### Enums
269335
270336
0 commit comments