Packagech.capi.net
Classpublic class NetState

Represents a state of a file. The file can be online, offline or this state can be retrived dynamically.

See also

INetStateManager


Public Methods
 MethodDefined by
  
get():String
[static] Retrieves the current NetState constant based on the current Security.sandboxType.
NetState
Public Constants
 ConstantDefined by
  DYNAMIC : String = "dynamic"
[static] Defines the dynamic state.
NetState
  OFFLINE : String = "offline"
[static] Defines the offline state.
NetState
  ONLINE : String = "online"
[static] Defines the online state.
NetState
Method detail
get()method
public static function get():String

Retrieves the current NetState constant based on the current Security.sandboxType.

Returns
StringNetState.ONLINE, NetState.OFFLINE or NetState.DYNAMIC.
Constant detail
DYNAMICconstant
public static const DYNAMIC:String = "dynamic"

Defines the dynamic state.

OFFLINEconstant 
public static const OFFLINE:String = "offline"

Defines the offline state.

ONLINEconstant 
public static const ONLINE:String = "online"

Defines the online state.