Skip to main content
Responsible for establishing, maintaining, and disconnecting IM connections. This documentation only covers core methods. For more details, check the [WKSDK shared].connectionManager interface in the code.

Configuration

For more configuration options, check [WKSDK shared].options

Swift Configuration

Advanced Configuration

Connect

Disconnect

Connection Status Monitoring

Delegate Implementation

Connection Status Types

Reason Codes

Common reason codes for connection status changes:

Best Practices

1. Connection Lifecycle Management

2. Network Status Monitoring

3. Error Handling

Next Steps

Message Handling

Learn how to send and receive messages

Channel Management

Manage channels and groups

Conversation Management

Handle conversation lists

Media Messages

Handle image, voice, and video messages