Skip to main content

User-Level Configuration

This document describes the interfaces related to user-level configuration.

User-Level Configuration Event Callback

tip

Supported starting from version 5.24.0.

Listening for User-Level Configuration Synchronization Events

After a user successfully connects, the SDK will fetch the current user's configuration information. Upon successful retrieval, the App will be notified via the userSettingsDidSync: callback in the RCUserSettingsDelegate protocol. Developers need to register the listener using the addUserSettingsDelegate: interface in RCCoreClient.

Sample Code

  1. Registering the user-level configuration event delegate
[[RCCoreClient sharedCoreClient] addUserSettingsDelegate:self];
[[RCCoreClient sharedCoreClient] removeUserSettingsDelegate:self];
  1. Implementing the user-level configuration synchronization callback method
- (void)userSettingsDidSync:(RCErrorCode)code {
// TODO Business logic processing
}