Packagecom.addicted2flash.data
Classpublic final class ServiceState

Enumeration class for service states.



Public Methods
 MethodDefined by
  
stateToString(state:int):String
[static] Returns the string representation of given service state.
ServiceState
Public Constants
 ConstantDefined by
  COMPLETE : int = 0x010
[static] complete state.
ServiceState
  ERROR : int = 0x020
[static] error state.
ServiceState
  PAUSE : int = 0x002
[static] pause state.
ServiceState
  READY : int = 0x001
[static] pause state.
ServiceState
  RUNNING : int = 0x008
[static] running state.
ServiceState
  STOP : int = 0x004
[static] stop state.
ServiceState
Method detail
stateToString()method
public static function stateToString(state:int):String

Returns the string representation of given service state.

Parameters
state:int — specific type of state

Returns
String — the string representation of given service state
Constant detail
COMPLETEconstant
public static const COMPLETE:int = 0x010

complete state.

ERRORconstant 
public static const ERROR:int = 0x020

error state.

PAUSEconstant 
public static const PAUSE:int = 0x002

pause state.

READYconstant 
public static const READY:int = 0x001

pause state.

RUNNINGconstant 
public static const RUNNING:int = 0x008

running state.

STOPconstant 
public static const STOP:int = 0x004

stop state.