Design Philosophy
To enable developers to use the SDK faster and more conveniently, WuKong SDK provides a single entry point to access all functionality in the SDK. Like a book’s table of contents, you can find corresponding content through the directory. For example, connecting to IM:WKIM.getInstance().getConnectionManager().connection()
Architecture Overview

SDK Integration with Apps

Core Functionality Modules
Message Management (MsgManager)
- Message CRUD operations
- New message listening and refresh message listening
- Message storage and status management
- Send message receipt listening
- Sync chat data monitoring
Connection Management (ConnectionManager)
- IM connection establishment and disconnection
- Logout handling
- Connection status monitoring
- Connection IP monitoring
- Network status handling
Channel Management (ChannelManager)
- Get channel information
- Refresh channel cache
- Monitor channel changes (pinning, do not disturb, muting)
- Search channel functionality
- Channel settings management
Conversation Management (ConversationManager)
- Get recent chat records
- Refresh recent conversations (add chat, red dot changes)
- Monitor removal of conversations
- Monitor sync recent conversations
- Unread message counting
Channel Members Management (ChannelMembersManager)
- Get channel member list
- Set member notes
- Save and modify member data
- Monitor refresh members and remove members
- Member permission management
Reminder Management (ReminderManager)
- Get conversation reminders (someone @me, group join request, etc.)
- Custom reminder items (voice unread, etc.)
- Reminder status management
- Reminder message handling
CMD Management (CMDManager)
- Monitor command messages sent from server
- Command message handling
- System notification management
Robot Management (RobotManager)
- Get robot menus
- Sync robot menus
- Query menu functionality
- Robot interaction handling
Development Advantages
- Unified Entry Point: Access all functionality through
WKIM.getInstance() - Modular Design: Clear separation of functional modules for easy maintenance and extension
- Event-Driven: Event callback mechanism based on listener pattern
- High Performance: Local database caching, optimized network requests
- Easy Integration: Clean API design for quick integration into existing Android projects
- Complete Functionality: Covers all core instant messaging features
Next Steps
After understanding the overall architecture of Android SDK, you can:- SDK Integration - Start integrating WuKongIM Android SDK
- Basic Features - Learn basic SDK configuration and usage
- Message Management - Implement message sending and receiving functionality
- Channel Management - Manage channels and members
- Conversation Management - Handle conversation lists and unread messages

