initialize
Initializes the SDK.
Must be called before using any other SDK features. It is recommended to call this in Application.onCreate().
Required parameters: context, appKey (passed via InitParams constructor)
Optional parameters: (set via InitParams properties)
InitParams.logLevel - Log level (default: WARN)
InitParams.naviServer - Custom navigation server URL (for private cloud)
InitParams.fileServer - Custom file server URL (for private cloud)
InitParams.statisticServer - Custom statistics server URL (for private cloud)
InitParams.logServer - Custom log server URL (for private cloud)
InitParams.areaCode - Area code (default: SG, for overseas deployment)
InitParams.enablePush - Whether to enable push notifications (default: true)
InitParams.enableSyncEmptyTopConversation - Whether to sync empty pinned channels (default: false)
InitParams.compressOptions - Media compression options for images and short videos (default: null, uses SDK defaults)
Parameters
Initialization parameters