/docs
other
Set UserId
illustrate
UserId is used to distinguish different user data. Please set it to content related to the user account.The character length of UserId should not exceed 64 bytes.The setting methods for different SDKs and protocols are as follows:
1. JS SDK
In the "app" field in 2. Start Recording, set it through the userId field;
2. WebSocket
In the "app" field in 2.1 "Parameter Description" of the Send Authentication Interface, set it through the userId field;
3. Http
In the "app" field of the request body parameter when Create a evaluation session, set it through the userId field;
4. Other SDK
Android, iOS, Unity, Java, C/C++, and C# SDKs are all set in the "app.userId" field in the start interface parameter of the evaluation request. For details, refer to the corresponding SDK document on the left.
