Package | com.myflashlab.air.extensions.darkMode |
Class | public class DarkMode |
Inheritance | DarkMode Object |
Property | Defined By | ||
---|---|---|---|
listener : EventDispatcher [static] [read-only]
Get access to the instance of the event dispatcher to listen on dark mode changes. | DarkMode |
Method | Defined By | ||
---|---|---|---|
dispose():void [static]
Call to dispose the extension
| DarkMode | ||
init():void [static]
To use this extension, you must first initialize it with this method. | DarkMode | ||
isActivated():Boolean [static]
Check if the Dark Mode on iOS or the Dark Theme on Android is activated. | DarkMode | ||
isAvailable():Boolean [static]
Check if the Dark Mode on iOS or the Dark Theme on Android is available. | DarkMode |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.darkMode [static] | DarkMode | ||
VERSION : String = 1.0.1 [static] | DarkMode |
listener | property |
listener:EventDispatcher
[read-only] Get access to the instance of the event dispatcher to listen on dark mode changes.
public static function get listener():EventDispatcher
dispose | () | method |
public static function dispose():void
Call to dispose the extension
init | () | method |
public static function init():void
To use this extension, you must first initialize it with this method.
isActivated | () | method |
public static function isActivated():Boolean
Check if the Dark Mode on iOS or the Dark Theme on Android is activated.
ReturnsBoolean — Boolean
|
isAvailable | () | method |
public static function isAvailable():Boolean
Check if the Dark Mode on iOS or the Dark Theme on Android is available.
ReturnsBoolean — Boolean
|
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.darkMode
VERSION | Constant |
public static const VERSION:String = 1.0.1