setBusinessId abstract method
Sets the business ID.
You can distinguish different business scenarios (roles/strategies, etc.) by businessId
.
You can customize your businessId to serve as a sub AppId, which can share and refine the function of the AppId, but it does not need authentication.
Returned value:
- 0: Success
- -2: parameterErr, wrong parameter.
Notes: Call this API before calling RTCRoom.joinRoom.
Implementation
Future<int?> setBusinessId(String businessId);