Package | com.myflashlab.air.extensions.statusbar |
Class | public class Statusbar |
Inheritance | Statusbar Object |
Property | Defined By | ||
---|---|---|---|
height : Number [static] [read-only]
Indicates the current height of the Statusbar. | Statusbar | ||
listener : EventDispatcher [static] [read-only] | Statusbar |
Method | Defined By | ||
---|---|---|---|
allowHomeIndicatorAutoHide():void [static]
allows the HomeIndicator to automatically hide. | Statusbar | ||
changeStatusbarStyle($style:int, $haveAnimation:Boolean = true):void [static]
Change the Statusbar style with or without animation. | Statusbar | ||
dispose():void [static]
Call this method to remove the native listener on watching the statusbar change frames
and dispose the ANE. | Statusbar | ||
hideStatusbar($animationType:int):void [static]
Hide the statusbar with the animation type of your choice. | Statusbar | ||
init():void [static] | Statusbar | ||
showStatusbar($animationType:int):void [static]
Show the Statusbar with the animation type of your choise. | Statusbar |
Constant | Defined By | ||
---|---|---|---|
ANIMATION_FADE : int = 1 [static] | Statusbar | ||
ANIMATION_NONE : int = 0 [static] | Statusbar | ||
ANIMATION_SLIDE : int = 2 [static] | Statusbar | ||
BAR_STYLE_DEFAULT : int = 1 [static] | Statusbar | ||
BAR_STYLE_LIGHT : int = 2 [static] | Statusbar | ||
EXTENSION_ID : String = com.myflashlab.air.extensions.statusbar [static] | Statusbar | ||
VERSION : String = 1.1.1 [static] | Statusbar |
height | property |
height:Number
[read-only] Indicates the current height of the Statusbar.
public static function get height():Number
listener | property |
listener:EventDispatcher
[read-only] public static function get listener():EventDispatcher
allowHomeIndicatorAutoHide | () | method |
public static function allowHomeIndicatorAutoHide():void
allows the HomeIndicator to automatically hide. This will not guarantee that it will be always hidden. Read iOS docs for moer information: https://developer.apple.com/documentation/uikit/uiviewcontroller/2887510-prefershomeindicatorautohidden?language=objc
Notice: You can call this method only once in your app lifetime. Other calls will be simply ignored.
changeStatusbarStyle | () | method |
public static function changeStatusbarStyle($style:int, $haveAnimation:Boolean = true):void
Change the Statusbar style with or without animation.
Parameters
$style:int | |
$haveAnimation:Boolean (default = true )
|
dispose | () | method |
public static function dispose():void
Call this method to remove the native listener on watching the statusbar change frames and dispose the ANE.
hideStatusbar | () | method |
public static function hideStatusbar($animationType:int):void
Hide the statusbar with the animation type of your choice.
Parameters
$animationType:int |
init | () | method |
public static function init():void
showStatusbar | () | method |
public static function showStatusbar($animationType:int):void
Show the Statusbar with the animation type of your choise.
Parameters
$animationType:int |
ANIMATION_FADE | Constant |
public static const ANIMATION_FADE:int = 1
ANIMATION_NONE | Constant |
public static const ANIMATION_NONE:int = 0
ANIMATION_SLIDE | Constant |
public static const ANIMATION_SLIDE:int = 2
BAR_STYLE_DEFAULT | Constant |
public static const BAR_STYLE_DEFAULT:int = 1
BAR_STYLE_LIGHT | Constant |
public static const BAR_STYLE_LIGHT:int = 2
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.statusbar
VERSION | Constant |
public static const VERSION:String = 1.1.1