NetworkType
Enum
Module: _decorator Parent Module: cc
Network type enumeration
Index
NONE
LAN
WWAN
Details
NONE
Network is unreachable.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1125 |
LAN
Network is reachable via WiFi or cable.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1134 |
WWAN
Network is reachable via Wireless Wide Area Network
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/platform/CCSys.js:1143 |