Packagenet.flashplusplus.Snapdragon
Classpublic class Snapdragon
InheritanceSnapdragon Inheritance Object

Snapdragon is the singleton main class of the Snapdragon API. It holds all of the functions, that can be used by any Adobe Air application.



Public Properties
 PropertyDefined By
  adManager : SDAdManager
[read-only] Obtains an instance from SDAdManager class.
Snapdragon
  gameCenterManager : SDGameCenterManager
[read-only] Obtains an instance from SDGameCenterManager class.
Snapdragon
  instance : Snapdragon
[static] [read-only] Snapdragon instance property.
Snapdragon
  storeManager : SDStoreManager
[read-only] Obtains an instance from SDStoreManager class.
Snapdragon
Public Methods
 MethodDefined By
  
Constructor of Snapdragon singleton class.
Snapdragon
Public Constants
 ConstantDefined By
  SCREEN_ORIENTATION_LANDSCAPE : String = landscape
[static]
Snapdragon
  SCREEN_ORIENTATION_PORTRAIT : String = portrait
[static]
Snapdragon
Property Detail
adManagerproperty
adManager:SDAdManager  [read-only]

Obtains an instance from SDAdManager class.


Implementation
    public function get adManager():SDAdManager
extContextproperty 
SDNamespace var extContext:ExtensionContext

gameCenterManagerproperty 
gameCenterManager:SDGameCenterManager  [read-only]

Obtains an instance from SDGameCenterManager class.


Implementation
    public function get gameCenterManager():SDGameCenterManager
instanceproperty 
instance:Snapdragon  [read-only]

Snapdragon instance property. If the object is not exists, it will be created.


Implementation
    public static function get instance():Snapdragon
storeManagerproperty 
storeManager:SDStoreManager  [read-only]

Obtains an instance from SDStoreManager class.


Implementation
    public function get storeManager():SDStoreManager
Constructor Detail
Snapdragon()Constructor
public function Snapdragon()

Constructor of Snapdragon singleton class. It can not be used directly, use instance property instead.


Throws
Error — When it is called.
Constant Detail
SCREEN_ORIENTATION_LANDSCAPEConstant
public static const SCREEN_ORIENTATION_LANDSCAPE:String = landscape

SCREEN_ORIENTATION_PORTRAITConstant 
public static const SCREEN_ORIENTATION_PORTRAIT:String = portrait