TestLCIC
. If you have already created an application, select Existing.userid
) will be returned.classid
) will be returned.scene
, debugjs
, and debugcss
are optional parameters. Set them only if you need to customize your own UI. debugjs
and debugcss
are used for custom layout debugging and can only be accessed via localhost
or 127.0.0.1
. Do not use them in a production environment.lng
, location
, and layout
are also optional parameters. If you don't specify them, the default values will be used. layout
is valid only if the room subtype is "Document + Video" (videodoc
).Field | Type | Description | Remarks | Required | |
userid | string | The user ID. | Yes | ||
classid | string | The class ID. | Yes | | |
token | string | The backend authentication token. | Yes | ||
version | string | The SDK version. | Refer to the release notes to determine which version you want to integrate. | Yes | |
scene | string | The scene name. | No | ||
debugjs | string | The JavaScript link of the custom UI. | See "Custom UI" below. | No | |
debugcss | string | The CSS link of the custom UI. | See "Custom UI" below. | No | |
lng | string | The language, which is zh-CN by default. | Valid values: zh-CN , en-US . | No | |
location | boolean | Whether to report the geographic coordinates (latitude and longitude). | The default value is false , which means the geographic coordinates will not be reported. | No | |
layout | string | The layout. | Valid values: top , double , right , left , three . | No | |
https://class.qcloudclass.com/${version}/index.html?userid=${userid}&token=${token}&classid=${classid}
https://class.qcloudclass.com/1.8.0/index.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569
userid
is the same as teacherid
, the user will enter the class as the teacher. If userid
is the same as assistantid
, the user will enter the class as a teaching assistant. In other cases, the user will enter as a student.debugjs
and debugcss
parameters (for debugging only) to the above URL.https://class.qcloudclass.com/1.8.0/index.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569&debugjs=%!s(<nil>)&debugcss=%!s(<nil>)
scene
parameter to the URL to load the layout of the corresponding scene. This is useful if you have different types of classes with different layout designs.http://class.qcloudclass.com/1.8.0/index.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569&scene=default
Was this page helpful?