Packageorg.zengrong.ane.tool
Classpublic class RestartCont
InheritanceRestartCont Inheritance ToolBase Inheritance flash.events.EventDispatcher

重启AIR应用



Public Properties
 PropertyDefined By
 Inheritedextension : ExtensionContext
[read-only]
ToolBase
Protected Properties
 PropertyDefined By
 Inherited_extension : ExtensionContext
ToolBase
Public Methods
 MethodDefined By
  
RestartCont($context:ExtensionContext)
RestartCont
 Inherited
dispose():void
ToolBase
  
rebootApp($key:int = 1000):void
重启AIR,使用系统服务
RestartCont
  
restartApp($key:int = 0):void
重启AIR,使用自定义服务
RestartCont
Protected Methods
 MethodDefined By
 Inherited
handler_status($evt:StatusEvent):void
ToolBase
Constructor Detail
RestartCont()Constructor
public function RestartCont($context:ExtensionContext)



Parameters
$context:ExtensionContext
Method Detail
rebootApp()method
public function rebootApp($key:int = 1000):void

重启AIR,使用系统服务

Parameters

$key:int (default = 1000)

restartApp()method 
public function restartApp($key:int = 0):void

重启AIR,使用自定义服务

Parameters

$key:int (default = 0)