switchAppKey

public abstract void switchAppKey(String appKey)

Switch appKey.

When an application corresponds to multiple environments, i.e., multiple appKeys, call this method to achieve hot-switching of the RCSDK. Note: After calling this method, you must call init and connect again, passing the token corresponding to the new appKey, to reinitialize and reconnect.

Since

5.0.0

Parameters

appKey

The alternate appKey for the application.