Packagech.capi.net
Interfacepublic interface INetStateManager
Implementors AbstractDocument, AbstractLoadableFile

Represents an object that can manages his state over the Internet.

See also

NetState


Public Properties
 PropertyDefined By
  netState : String
Defines the NetState value.
INetStateManager
Public Methods
 MethodDefined By
  
isOnline():Boolean
Retrieves the state depending of the NetState value defined.
INetStateManager
Property Detail
netStateproperty
netState:String  [read-write]

Defines the NetState value. The value available can be retrieved from the NetState class.


Implementation
    public function get netState():String
    public function set netState(value:String):void

See also

Method Detail
isOnline()method
public function isOnline():Boolean

Retrieves the state depending of the NetState value defined.

If the netState value is NetState.ONLINE, then this method returns true. If the netState value is NetState.OFFLINE, then this method returns false. If the netState value is NetState.DYNAMIC, then this method will try to retrieves dynamically the state of the INetStateManager.

Returns
Booleantrue if the INetStateManager is online or not.

See also