Package | ch.capi.net |
Interface | public interface INetStateManager |
Implementors | AbstractDocument, AbstractLoadableFile |
See also
Property | Defined By | ||
---|---|---|---|
netState : String
Defines the NetState value. | INetStateManager |
Method | Defined By | ||
---|---|---|---|
isOnline():Boolean
Retrieves the state depending of the NetState
value defined. | INetStateManager |
netState | property |
netState:String
[read-write]
Defines the NetState
value. The value available can
be retrieved from the NetState
class.
public function get netState():String
public function set netState(value:String):void
See also
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
.
Boolean — true if the INetStateManager is online or not.
|
See also