sys.NetworkType
Enum
Network type enumeration
Index
NONE
LAN
WWAN
Details
NONE
Network is unreachable.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1144 |
LAN
Network is reachable via WiFi or cable.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1153 |
WWAN
Network is reachable via Wireless Wide Area Network
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1162 |