Packagecom.myflashlab.air.extensions.badge
Classpublic class Badge
InheritanceBadge Inheritance Object

The Badge ANE will allow you read and write the badge number for your iOS apps.



Public Properties
 PropertyDefined By
  value : int
[static] Indicates the current badge value for your app.
Badge
Public Methods
 MethodDefined By
  
register():void
[static] Call this method so iOS can allow your app to have access to the badges.
Badge
Public Constants
 ConstantDefined By
  EXTENSION_ID : String = com.myflashlab.air.extensions.badge
[static]
Badge
  VERSION : String = 1.1.41
[static]
Badge
Property Detail
valueproperty
value:int

Indicates the current badge value for your app.


Implementation
    public static function get value():int
    public static function set value(value:int):void
Method Detail
register()method
public static function register():void

Call this method so iOS can allow your app to have access to the badges. If you are using our FCM/GCM ANE, you must not call this method at all because those extensions have already registered your app for notifications.

Constant Detail
EXTENSION_IDConstant
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.badge

VERSIONConstant 
public static const VERSION:String = 1.1.41