Packageorg.zengrong.ane
Classpublic class ANEToolkit
InheritanceANEToolkit Inheritance Object

定义对ANE原生插件的调用



Public Properties
 PropertyDefined By
  intent : IntentCont
[static] [read-only] 获取Intent功能
ANEToolkit
  packageInfo : PackageInfoCont
[static] [read-only] 包信息功能
ANEToolkit
  power : PowerCont
[static] [read-only] 管理Android的电源,PowerManager
ANEToolkit
  preference : PreferenceCont
[static] [read-only] 存取Android的SharedPreference
ANEToolkit
  restart : RestartCont
[static] [read-only] 重启APP
ANEToolkit
  storage : StorageCont
[static] [read-only] 存储功能
ANEToolkit
  systemInfo : SystemInfoCont
[static] [read-only] 系统信息功能
ANEToolkit
  vibrator : VibratorCont
[static] [read-only] 振动功能 需要权限:android.permission.VIBRATE
ANEToolkit
Protected Properties
 PropertyDefined By
  _intentCont : IntentCont = null
[static]
ANEToolkit
  isSupported : Boolean
[static] [read-only]
ANEToolkit
  _packageInfoCont : PackageInfoCont = null
[static]
ANEToolkit
  _powerCont : PowerCont = null
[static]
ANEToolkit
  _preferenceCont : PreferenceCont = null
[static]
ANEToolkit
  _restartCont : RestartCont = null
[static]
ANEToolkit
  _storageCont : StorageCont = null
[static]
ANEToolkit
  _systemInfoCont : SystemInfoCont = null
[static]
ANEToolkit
  _vibratorCont : VibratorCont = null
[static]
ANEToolkit
Public Constants
 ConstantDefined By
  EXT_ID : String = org.zengrong.ane.ANEToolkit
[static] 定义本地插件的ID
ANEToolkit
Property Detail
_intentContproperty
protected static var _intentCont:IntentCont = null

_packageInfoContproperty 
protected static var _packageInfoCont:PackageInfoCont = null

_powerContproperty 
protected static var _powerCont:PowerCont = null

_preferenceContproperty 
protected static var _preferenceCont:PreferenceCont = null

_restartContproperty 
protected static var _restartCont:RestartCont = null

_storageContproperty 
protected static var _storageCont:StorageCont = null

_systemInfoContproperty 
protected static var _systemInfoCont:SystemInfoCont = null

_vibratorContproperty 
protected static var _vibratorCont:VibratorCont = null

intentproperty 
intent:IntentCont  [read-only]

获取Intent功能


Implementation
    public static function get intent():IntentCont
isSupportedproperty 
isSupported:Boolean  [read-only]


Implementation
    protected static function get isSupported():Boolean
packageInfoproperty 
packageInfo:PackageInfoCont  [read-only]

包信息功能


Implementation
    public static function get packageInfo():PackageInfoCont
powerproperty 
power:PowerCont  [read-only]

管理Android的电源,PowerManager


Implementation
    public static function get power():PowerCont
preferenceproperty 
preference:PreferenceCont  [read-only]

存取Android的SharedPreference


Implementation
    public static function get preference():PreferenceCont
restartproperty 
restart:RestartCont  [read-only]

重启APP


Implementation
    public static function get restart():RestartCont
storageproperty 
storage:StorageCont  [read-only]

存储功能


Implementation
    public static function get storage():StorageCont
systemInfoproperty 
systemInfo:SystemInfoCont  [read-only]

系统信息功能


Implementation
    public static function get systemInfo():SystemInfoCont
vibratorproperty 
vibrator:VibratorCont  [read-only]

振动功能 需要权限:android.permission.VIBRATE


Implementation
    public static function get vibrator():VibratorCont

See also

Constant Detail
EXT_IDConstant
public static const EXT_ID:String = org.zengrong.ane.ANEToolkit

定义本地插件的ID