[WKSDK shared].connectionManager interface in the code.
Configuration
[WKSDK shared].options
Swift Configuration
Advanced Configuration
Connect
Disconnect
Connection Status Monitoring
Delegate Implementation
Connection Status Types
| Status | Description |
|---|---|
WKConnecting | Connecting to server |
WKConnected | Successfully connected |
WKDisconnected | Disconnected from server |
WKConnectFail | Connection failed |
Reason Codes
Common reason codes for connection status changes:| Code | Description |
|---|---|
WKReasonConnectSuccess | Connection successful |
WKReasonConnectTimeout | Connection timeout |
WKReasonAuthFail | Authentication failed |
WKReasonNetworkError | Network error |
WKReasonKickOff | Kicked off by another device |

