larksr_websdk 3.2.404 → 3.2.405

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.
@@ -78,6 +78,9 @@ export interface StartAppInfo {
78
78
  appKey?: string;
79
79
  groupId?: string;
80
80
  initResolutionType?: number;
81
+ useWebCodec?: number;
82
+ preferDecoder?: string;
83
+ mobileWebMenuType?: number;
81
84
  }
82
85
  declare type HostAppliGetUrlReturnParams = {
83
86
  appliId: string;
@@ -205,7 +205,8 @@ export interface IAppliParams {
205
205
  useSeparateMediaSharePeer: boolean;
206
206
  mobileKeyboardType: number;
207
207
  initResolutionType: number;
208
- useWebcodec: boolean;
208
+ useWebCodec: boolean;
209
+ mobileWebMenuType: number;
209
210
  }
210
211
  export declare enum AppliType {
211
212
  DESKTOP = 1,
@@ -276,7 +277,8 @@ export declare class AppliParams implements IAppliParams {
276
277
  useSeparateMediaSharePeer: boolean;
277
278
  mobileKeyboardType: number;
278
279
  initResolutionType: number;
279
- useWebcodec: boolean;
280
+ useWebCodec: boolean;
281
+ mobileWebMenuType: number;
280
282
  static copyAndCreate(params?: IAppliParams): AppliParams;
281
283
  static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
282
284
  }
@@ -288,7 +290,7 @@ export declare class AppliParamsUtils {
288
290
  static getBoolOption(option: string | null | undefined | boolean, emptyValue?: boolean): boolean;
289
291
  static getNumberBoolOption(option: string | null | undefined | number, emptyValue?: boolean): boolean;
290
292
  static getStringOption(option: string | null | undefined, emptyValue?: string): string;
291
- static getIntOption(option: string | null | undefined, emptyValue?: number): number;
293
+ static getIntOption(option: string | number | null | undefined, emptyValue?: number): number;
292
294
  static getBgColor(option: string | null | undefined): string;
293
295
  }
294
296
  /**
@@ -499,7 +499,7 @@ interface ILarkSRConfig {
499
499
  /**
500
500
  * 是否使用 webcodec
501
501
  */
502
- useWebcodec?: boolean;
502
+ useWebCodec?: boolean;
503
503
  }
504
504
  declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
505
505
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larksr_websdk",
3
- "version": "3.2.404",
3
+ "version": "3.2.405",
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/api.d.ts CHANGED
@@ -78,6 +78,9 @@ export interface StartAppInfo {
78
78
  appKey?: string;
79
79
  groupId?: string;
80
80
  initResolutionType?: number;
81
+ useWebCodec?: number;
82
+ preferDecoder?: string;
83
+ mobileWebMenuType?: number;
81
84
  }
82
85
  declare type HostAppliGetUrlReturnParams = {
83
86
  appliId: string;
@@ -205,7 +205,8 @@ export interface IAppliParams {
205
205
  useSeparateMediaSharePeer: boolean;
206
206
  mobileKeyboardType: number;
207
207
  initResolutionType: number;
208
- useWebcodec: boolean;
208
+ useWebCodec: boolean;
209
+ mobileWebMenuType: number;
209
210
  }
210
211
  export declare enum AppliType {
211
212
  DESKTOP = 1,
@@ -276,7 +277,8 @@ export declare class AppliParams implements IAppliParams {
276
277
  useSeparateMediaSharePeer: boolean;
277
278
  mobileKeyboardType: number;
278
279
  initResolutionType: number;
279
- useWebcodec: boolean;
280
+ useWebCodec: boolean;
281
+ mobileWebMenuType: number;
280
282
  static copyAndCreate(params?: IAppliParams): AppliParams;
281
283
  static setUpWithSDKConfig(params: IAppliParams, config: ILarkSRConfig): AppliParams;
282
284
  }
@@ -288,7 +290,7 @@ export declare class AppliParamsUtils {
288
290
  static getBoolOption(option: string | null | undefined | boolean, emptyValue?: boolean): boolean;
289
291
  static getNumberBoolOption(option: string | null | undefined | number, emptyValue?: boolean): boolean;
290
292
  static getStringOption(option: string | null | undefined, emptyValue?: string): string;
291
- static getIntOption(option: string | null | undefined, emptyValue?: number): number;
293
+ static getIntOption(option: string | number | null | undefined, emptyValue?: number): number;
292
294
  static getBgColor(option: string | null | undefined): string;
293
295
  }
294
296
  /**
package/types/larksr.d.ts CHANGED
@@ -499,7 +499,7 @@ interface ILarkSRConfig {
499
499
  /**
500
500
  * 是否使用 webcodec
501
501
  */
502
- useWebcodec?: boolean;
502
+ useWebCodec?: boolean;
503
503
  }
504
504
  declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
505
505
  /**