larksr_websdk 3.2.36 → 3.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/larksr-web-sdk.min.js +1 -1
- package/dist/types/appli_params.d.ts +12 -0
- package/dist/types/larksr.d.ts +9 -0
- package/dist/types/screen_state.d.ts +1 -0
- package/package.json +1 -1
- package/types/appli_params.d.ts +12 -0
- package/types/larksr.d.ts +9 -0
- package/types/screen_state.d.ts +1 -0
|
@@ -263,5 +263,17 @@ export declare class AppliParamsUtils {
|
|
|
263
263
|
static getIntOption(option: string | null | undefined, emptyValue?: number): number;
|
|
264
264
|
static getBgColor(option: string | null | undefined): string;
|
|
265
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* WARNING 服务器端返回数据随机性较大,统一在该函数里做兼容处理
|
|
268
|
+
* 服务器端可能随意修改字段名称或值,需要注意测试
|
|
269
|
+
* @param startAppInfo
|
|
270
|
+
* @returns
|
|
271
|
+
*/
|
|
266
272
|
export declare function LoadAppliParamsFromUrl(): IAppliParams;
|
|
273
|
+
/**
|
|
274
|
+
* WARNING 服务器端返回数据随机性较大,统一在该函数里做兼容处理
|
|
275
|
+
* 服务器端可能随意修改字段名称或值,需要注意测试
|
|
276
|
+
* @param startAppInfo
|
|
277
|
+
* @returns
|
|
278
|
+
*/
|
|
267
279
|
export declare function LoadAppliParamsStartAppInfo(startAppInfo: StartAppInfo): IAppliParams;
|
package/dist/types/larksr.d.ts
CHANGED
|
@@ -451,6 +451,8 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
451
451
|
userType?: number;
|
|
452
452
|
roomCode?: string;
|
|
453
453
|
taskId?: string;
|
|
454
|
+
regionId?: string;
|
|
455
|
+
groupId?: string;
|
|
454
456
|
}): Promise<void>;
|
|
455
457
|
/**
|
|
456
458
|
* 连接云端渲染资源
|
|
@@ -498,6 +500,13 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
498
500
|
* 主动关闭连接
|
|
499
501
|
*/
|
|
500
502
|
close(): void;
|
|
503
|
+
/**
|
|
504
|
+
* 设置是否强制横屏显示内容.
|
|
505
|
+
* handelRootElementSize 必须设置为 true 才有作用。
|
|
506
|
+
* 要注意强制横屏模式下网页的坐标系xy和视觉上相反,如果通过外部输入 input 事件。要注意调整
|
|
507
|
+
* @param force 是否强制横屏
|
|
508
|
+
*/
|
|
509
|
+
setMobileForceLandScape(force: boolean): void;
|
|
501
510
|
/**
|
|
502
511
|
* 切换当前操作者
|
|
503
512
|
* @param uid 用户id
|
|
@@ -108,5 +108,6 @@ export default class ScreenState extends EventBase<SCREEN_EVENT_TYPE, ScreenEven
|
|
|
108
108
|
private larksr;
|
|
109
109
|
constructor(rootElement: HTMLElement, params: IAppliParams, larksr: LarkSR, handelRootElementSize?: boolean);
|
|
110
110
|
reset(params: IAppliParams): void;
|
|
111
|
+
setMobileForceLandScape(force: boolean): void;
|
|
111
112
|
resize(): void;
|
|
112
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larksr_websdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.37",
|
|
4
4
|
"description": "Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://pingxingyun.github.io/webclient_sdk/",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pingxingyun",
|
package/types/appli_params.d.ts
CHANGED
|
@@ -263,5 +263,17 @@ export declare class AppliParamsUtils {
|
|
|
263
263
|
static getIntOption(option: string | null | undefined, emptyValue?: number): number;
|
|
264
264
|
static getBgColor(option: string | null | undefined): string;
|
|
265
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* WARNING 服务器端返回数据随机性较大,统一在该函数里做兼容处理
|
|
268
|
+
* 服务器端可能随意修改字段名称或值,需要注意测试
|
|
269
|
+
* @param startAppInfo
|
|
270
|
+
* @returns
|
|
271
|
+
*/
|
|
266
272
|
export declare function LoadAppliParamsFromUrl(): IAppliParams;
|
|
273
|
+
/**
|
|
274
|
+
* WARNING 服务器端返回数据随机性较大,统一在该函数里做兼容处理
|
|
275
|
+
* 服务器端可能随意修改字段名称或值,需要注意测试
|
|
276
|
+
* @param startAppInfo
|
|
277
|
+
* @returns
|
|
278
|
+
*/
|
|
267
279
|
export declare function LoadAppliParamsStartAppInfo(startAppInfo: StartAppInfo): IAppliParams;
|
package/types/larksr.d.ts
CHANGED
|
@@ -451,6 +451,8 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
451
451
|
userType?: number;
|
|
452
452
|
roomCode?: string;
|
|
453
453
|
taskId?: string;
|
|
454
|
+
regionId?: string;
|
|
455
|
+
groupId?: string;
|
|
454
456
|
}): Promise<void>;
|
|
455
457
|
/**
|
|
456
458
|
* 连接云端渲染资源
|
|
@@ -498,6 +500,13 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
498
500
|
* 主动关闭连接
|
|
499
501
|
*/
|
|
500
502
|
close(): void;
|
|
503
|
+
/**
|
|
504
|
+
* 设置是否强制横屏显示内容.
|
|
505
|
+
* handelRootElementSize 必须设置为 true 才有作用。
|
|
506
|
+
* 要注意强制横屏模式下网页的坐标系xy和视觉上相反,如果通过外部输入 input 事件。要注意调整
|
|
507
|
+
* @param force 是否强制横屏
|
|
508
|
+
*/
|
|
509
|
+
setMobileForceLandScape(force: boolean): void;
|
|
501
510
|
/**
|
|
502
511
|
* 切换当前操作者
|
|
503
512
|
* @param uid 用户id
|
package/types/screen_state.d.ts
CHANGED
|
@@ -108,5 +108,6 @@ export default class ScreenState extends EventBase<SCREEN_EVENT_TYPE, ScreenEven
|
|
|
108
108
|
private larksr;
|
|
109
109
|
constructor(rootElement: HTMLElement, params: IAppliParams, larksr: LarkSR, handelRootElementSize?: boolean);
|
|
110
110
|
reset(params: IAppliParams): void;
|
|
111
|
+
setMobileForceLandScape(force: boolean): void;
|
|
111
112
|
resize(): void;
|
|
112
113
|
}
|