Packagech.capi.net
Classpublic class NetState
InheritanceNetState Inheritance Object

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.