Packageorg.zengrong.ane.enum
Classpublic class PowerFunction
InheritancePowerFunction Inheritance Object

定义电源功能相关的枚举



Public Constants
 ConstantDefined By
  ACQUIRE : String = ACQUIRE
[static] 执行电源设置
PowerFunction
  FLAG_KEEP_SCREEN_ON : String = FLAG_KEEP_SCREEN_ON
[static] 保持当前Activity常亮
PowerFunction
  GO_TO_SLEEP : String = GO_TO_SLEEP
[static] 切换到睡眠状态
PowerFunction
  IS_SCREEN_ON : String = IS_SCREEN_ON
[static] 屏幕是否处于点亮状态
PowerFunction
  REBOOT : String = REBOOT
[static] 重启设备
PowerFunction
  RELEASE : String = RELEASE
[static] 释放对电源进行的设置
PowerFunction
  USER_ACTIVITY : String = USER_ACTIVITY
[static] 用户激活设备
PowerFunction
Constant Detail
ACQUIREConstant
public static const ACQUIRE:String = ACQUIRE

执行电源设置

FLAG_KEEP_SCREEN_ONConstant 
public static const FLAG_KEEP_SCREEN_ON:String = FLAG_KEEP_SCREEN_ON

保持当前Activity常亮

GO_TO_SLEEPConstant 
public static const GO_TO_SLEEP:String = GO_TO_SLEEP

切换到睡眠状态

IS_SCREEN_ONConstant 
public static const IS_SCREEN_ON:String = IS_SCREEN_ON

屏幕是否处于点亮状态

REBOOTConstant 
public static const REBOOT:String = REBOOT

重启设备

RELEASEConstant 
public static const RELEASE:String = RELEASE

释放对电源进行的设置

USER_ACTIVITYConstant 
public static const USER_ACTIVITY:String = USER_ACTIVITY

用户激活设备