larksr_websdk 3.3.111 → 3.3.113
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/lark/application.d.ts +3 -1
- package/dist/types/lark/peer_connection.d.ts +7 -1
- package/dist/types/larksr.d.ts +4 -0
- package/dist/types/protobuf/cloudlark.d.ts +236 -2
- package/package.json +1 -1
- package/types/lark/application.d.ts +3 -1
- package/types/lark/peer_connection.d.ts +7 -1
- package/types/larksr.d.ts +4 -0
- package/types/protobuf/cloudlark.d.ts +236 -2
|
@@ -9246,6 +9246,132 @@ export namespace CloudLark {
|
|
|
9246
9246
|
}
|
|
9247
9247
|
}
|
|
9248
9248
|
|
|
9249
|
+
/** Properties of a BigDataPacket. */
|
|
9250
|
+
interface IBigDataPacket {
|
|
9251
|
+
|
|
9252
|
+
/** BigDataPacket sessionId */
|
|
9253
|
+
sessionId?: (number|null);
|
|
9254
|
+
|
|
9255
|
+
/** BigDataPacket packetId */
|
|
9256
|
+
packetId?: (number|null);
|
|
9257
|
+
|
|
9258
|
+
/** BigDataPacket packetCount */
|
|
9259
|
+
packetCount?: (number|null);
|
|
9260
|
+
|
|
9261
|
+
/** BigDataPacket totalSize */
|
|
9262
|
+
totalSize?: (number|null);
|
|
9263
|
+
|
|
9264
|
+
/** BigDataPacket packetSize */
|
|
9265
|
+
packetSize?: (number|null);
|
|
9266
|
+
|
|
9267
|
+
/** BigDataPacket isLast */
|
|
9268
|
+
isLast?: (boolean|null);
|
|
9269
|
+
|
|
9270
|
+
/** BigDataPacket data */
|
|
9271
|
+
data?: (Uint8Array|null);
|
|
9272
|
+
}
|
|
9273
|
+
|
|
9274
|
+
/** Represents a BigDataPacket. */
|
|
9275
|
+
class BigDataPacket implements IBigDataPacket {
|
|
9276
|
+
|
|
9277
|
+
/**
|
|
9278
|
+
* Constructs a new BigDataPacket.
|
|
9279
|
+
* @param [properties] Properties to set
|
|
9280
|
+
*/
|
|
9281
|
+
constructor(properties?: CloudLark.IBigDataPacket);
|
|
9282
|
+
|
|
9283
|
+
/** BigDataPacket sessionId. */
|
|
9284
|
+
public sessionId: number;
|
|
9285
|
+
|
|
9286
|
+
/** BigDataPacket packetId. */
|
|
9287
|
+
public packetId: number;
|
|
9288
|
+
|
|
9289
|
+
/** BigDataPacket packetCount. */
|
|
9290
|
+
public packetCount: number;
|
|
9291
|
+
|
|
9292
|
+
/** BigDataPacket totalSize. */
|
|
9293
|
+
public totalSize: number;
|
|
9294
|
+
|
|
9295
|
+
/** BigDataPacket packetSize. */
|
|
9296
|
+
public packetSize: number;
|
|
9297
|
+
|
|
9298
|
+
/** BigDataPacket isLast. */
|
|
9299
|
+
public isLast: boolean;
|
|
9300
|
+
|
|
9301
|
+
/** BigDataPacket data. */
|
|
9302
|
+
public data: Uint8Array;
|
|
9303
|
+
|
|
9304
|
+
/**
|
|
9305
|
+
* Creates a new BigDataPacket instance using the specified properties.
|
|
9306
|
+
* @param [properties] Properties to set
|
|
9307
|
+
* @returns BigDataPacket instance
|
|
9308
|
+
*/
|
|
9309
|
+
public static create(properties?: CloudLark.IBigDataPacket): CloudLark.BigDataPacket;
|
|
9310
|
+
|
|
9311
|
+
/**
|
|
9312
|
+
* Encodes the specified BigDataPacket message. Does not implicitly {@link CloudLark.BigDataPacket.verify|verify} messages.
|
|
9313
|
+
* @param message BigDataPacket message or plain object to encode
|
|
9314
|
+
* @param [writer] Writer to encode to
|
|
9315
|
+
* @returns Writer
|
|
9316
|
+
*/
|
|
9317
|
+
public static encode(message: CloudLark.IBigDataPacket, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9318
|
+
|
|
9319
|
+
/**
|
|
9320
|
+
* Encodes the specified BigDataPacket message, length delimited. Does not implicitly {@link CloudLark.BigDataPacket.verify|verify} messages.
|
|
9321
|
+
* @param message BigDataPacket message or plain object to encode
|
|
9322
|
+
* @param [writer] Writer to encode to
|
|
9323
|
+
* @returns Writer
|
|
9324
|
+
*/
|
|
9325
|
+
public static encodeDelimited(message: CloudLark.IBigDataPacket, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9326
|
+
|
|
9327
|
+
/**
|
|
9328
|
+
* Decodes a BigDataPacket message from the specified reader or buffer.
|
|
9329
|
+
* @param reader Reader or buffer to decode from
|
|
9330
|
+
* @param [length] Message length if known beforehand
|
|
9331
|
+
* @returns BigDataPacket
|
|
9332
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9333
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9334
|
+
*/
|
|
9335
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.BigDataPacket;
|
|
9336
|
+
|
|
9337
|
+
/**
|
|
9338
|
+
* Decodes a BigDataPacket message from the specified reader or buffer, length delimited.
|
|
9339
|
+
* @param reader Reader or buffer to decode from
|
|
9340
|
+
* @returns BigDataPacket
|
|
9341
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9342
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9343
|
+
*/
|
|
9344
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.BigDataPacket;
|
|
9345
|
+
|
|
9346
|
+
/**
|
|
9347
|
+
* Verifies a BigDataPacket message.
|
|
9348
|
+
* @param message Plain object to verify
|
|
9349
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9350
|
+
*/
|
|
9351
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9352
|
+
|
|
9353
|
+
/**
|
|
9354
|
+
* Creates a BigDataPacket message from a plain object. Also converts values to their respective internal types.
|
|
9355
|
+
* @param object Plain object
|
|
9356
|
+
* @returns BigDataPacket
|
|
9357
|
+
*/
|
|
9358
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.BigDataPacket;
|
|
9359
|
+
|
|
9360
|
+
/**
|
|
9361
|
+
* Creates a plain object from a BigDataPacket message. Also converts values to other types if specified.
|
|
9362
|
+
* @param message BigDataPacket
|
|
9363
|
+
* @param [options] Conversion options
|
|
9364
|
+
* @returns Plain object
|
|
9365
|
+
*/
|
|
9366
|
+
public static toObject(message: CloudLark.BigDataPacket, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9367
|
+
|
|
9368
|
+
/**
|
|
9369
|
+
* Converts this BigDataPacket to JSON.
|
|
9370
|
+
* @returns JSON object
|
|
9371
|
+
*/
|
|
9372
|
+
public toJSON(): { [k: string]: any };
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9249
9375
|
/** Properties of a TooltipInfo. */
|
|
9250
9376
|
interface ITooltipInfo {
|
|
9251
9377
|
|
|
@@ -9428,6 +9554,9 @@ export namespace CloudLark {
|
|
|
9428
9554
|
|
|
9429
9555
|
/** ClientInput appControl */
|
|
9430
9556
|
appControl?: (CloudLark.IApplicationControl|null);
|
|
9557
|
+
|
|
9558
|
+
/** ClientInput bigDataPacket */
|
|
9559
|
+
bigDataPacket?: (CloudLark.IBigDataPacket|null);
|
|
9431
9560
|
}
|
|
9432
9561
|
|
|
9433
9562
|
/** Represents a ClientInput. */
|
|
@@ -9529,8 +9658,11 @@ export namespace CloudLark {
|
|
|
9529
9658
|
/** ClientInput appControl. */
|
|
9530
9659
|
public appControl?: (CloudLark.IApplicationControl|null);
|
|
9531
9660
|
|
|
9661
|
+
/** ClientInput bigDataPacket. */
|
|
9662
|
+
public bigDataPacket?: (CloudLark.IBigDataPacket|null);
|
|
9663
|
+
|
|
9532
9664
|
/** ClientInput input. */
|
|
9533
|
-
public input?: ("mouseMove"|"mouseDown"|"mouseUp"|"mouseWheel"|"keyDown"|"keyUp"|"clientEnter"|"clientLeave"|"dispatchController"|"requesController"|"textInput"|"gamepadInputJoystickStates"|"gamepadInputButtonDown"|"gamepadInputButtonUp"|"gamepadInputTriger"|"clientDcMsg"|"touchMove"|"touchDown"|"touchUp"|"aiVoicestreamStart"|"aiVoicestreamSlice"|"aiVoicestreamStop"|"aiVoicestreamReset"|"aiVoiceText"|"rtmpStart"|"rtmpStop"|"videoConfigure"|"clientStatics"|"showDebuglayout"|"appControl");
|
|
9665
|
+
public input?: ("mouseMove"|"mouseDown"|"mouseUp"|"mouseWheel"|"keyDown"|"keyUp"|"clientEnter"|"clientLeave"|"dispatchController"|"requesController"|"textInput"|"gamepadInputJoystickStates"|"gamepadInputButtonDown"|"gamepadInputButtonUp"|"gamepadInputTriger"|"clientDcMsg"|"touchMove"|"touchDown"|"touchUp"|"aiVoicestreamStart"|"aiVoicestreamSlice"|"aiVoicestreamStop"|"aiVoicestreamReset"|"aiVoiceText"|"rtmpStart"|"rtmpStop"|"videoConfigure"|"clientStatics"|"showDebuglayout"|"appControl"|"bigDataPacket");
|
|
9534
9666
|
|
|
9535
9667
|
/**
|
|
9536
9668
|
* Creates a new ClientInput instance using the specified properties.
|
|
@@ -9723,6 +9855,96 @@ export namespace CloudLark {
|
|
|
9723
9855
|
public toJSON(): { [k: string]: any };
|
|
9724
9856
|
}
|
|
9725
9857
|
|
|
9858
|
+
/** Properties of an AppOpenUrl. */
|
|
9859
|
+
interface IAppOpenUrl {
|
|
9860
|
+
|
|
9861
|
+
/** AppOpenUrl url */
|
|
9862
|
+
url?: (string|null);
|
|
9863
|
+
}
|
|
9864
|
+
|
|
9865
|
+
/** Represents an AppOpenUrl. */
|
|
9866
|
+
class AppOpenUrl implements IAppOpenUrl {
|
|
9867
|
+
|
|
9868
|
+
/**
|
|
9869
|
+
* Constructs a new AppOpenUrl.
|
|
9870
|
+
* @param [properties] Properties to set
|
|
9871
|
+
*/
|
|
9872
|
+
constructor(properties?: CloudLark.IAppOpenUrl);
|
|
9873
|
+
|
|
9874
|
+
/** AppOpenUrl url. */
|
|
9875
|
+
public url: string;
|
|
9876
|
+
|
|
9877
|
+
/**
|
|
9878
|
+
* Creates a new AppOpenUrl instance using the specified properties.
|
|
9879
|
+
* @param [properties] Properties to set
|
|
9880
|
+
* @returns AppOpenUrl instance
|
|
9881
|
+
*/
|
|
9882
|
+
public static create(properties?: CloudLark.IAppOpenUrl): CloudLark.AppOpenUrl;
|
|
9883
|
+
|
|
9884
|
+
/**
|
|
9885
|
+
* Encodes the specified AppOpenUrl message. Does not implicitly {@link CloudLark.AppOpenUrl.verify|verify} messages.
|
|
9886
|
+
* @param message AppOpenUrl message or plain object to encode
|
|
9887
|
+
* @param [writer] Writer to encode to
|
|
9888
|
+
* @returns Writer
|
|
9889
|
+
*/
|
|
9890
|
+
public static encode(message: CloudLark.IAppOpenUrl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9891
|
+
|
|
9892
|
+
/**
|
|
9893
|
+
* Encodes the specified AppOpenUrl message, length delimited. Does not implicitly {@link CloudLark.AppOpenUrl.verify|verify} messages.
|
|
9894
|
+
* @param message AppOpenUrl message or plain object to encode
|
|
9895
|
+
* @param [writer] Writer to encode to
|
|
9896
|
+
* @returns Writer
|
|
9897
|
+
*/
|
|
9898
|
+
public static encodeDelimited(message: CloudLark.IAppOpenUrl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9899
|
+
|
|
9900
|
+
/**
|
|
9901
|
+
* Decodes an AppOpenUrl message from the specified reader or buffer.
|
|
9902
|
+
* @param reader Reader or buffer to decode from
|
|
9903
|
+
* @param [length] Message length if known beforehand
|
|
9904
|
+
* @returns AppOpenUrl
|
|
9905
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9906
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9907
|
+
*/
|
|
9908
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.AppOpenUrl;
|
|
9909
|
+
|
|
9910
|
+
/**
|
|
9911
|
+
* Decodes an AppOpenUrl message from the specified reader or buffer, length delimited.
|
|
9912
|
+
* @param reader Reader or buffer to decode from
|
|
9913
|
+
* @returns AppOpenUrl
|
|
9914
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9915
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9916
|
+
*/
|
|
9917
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.AppOpenUrl;
|
|
9918
|
+
|
|
9919
|
+
/**
|
|
9920
|
+
* Verifies an AppOpenUrl message.
|
|
9921
|
+
* @param message Plain object to verify
|
|
9922
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9923
|
+
*/
|
|
9924
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9925
|
+
|
|
9926
|
+
/**
|
|
9927
|
+
* Creates an AppOpenUrl message from a plain object. Also converts values to their respective internal types.
|
|
9928
|
+
* @param object Plain object
|
|
9929
|
+
* @returns AppOpenUrl
|
|
9930
|
+
*/
|
|
9931
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.AppOpenUrl;
|
|
9932
|
+
|
|
9933
|
+
/**
|
|
9934
|
+
* Creates a plain object from an AppOpenUrl message. Also converts values to other types if specified.
|
|
9935
|
+
* @param message AppOpenUrl
|
|
9936
|
+
* @param [options] Conversion options
|
|
9937
|
+
* @returns Plain object
|
|
9938
|
+
*/
|
|
9939
|
+
public static toObject(message: CloudLark.AppOpenUrl, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9940
|
+
|
|
9941
|
+
/**
|
|
9942
|
+
* Converts this AppOpenUrl to JSON.
|
|
9943
|
+
* @returns JSON object
|
|
9944
|
+
*/
|
|
9945
|
+
public toJSON(): { [k: string]: any };
|
|
9946
|
+
}
|
|
9947
|
+
|
|
9726
9948
|
/** Properties of an AppNotification. */
|
|
9727
9949
|
interface IAppNotification {
|
|
9728
9950
|
|
|
@@ -9782,6 +10004,12 @@ export namespace CloudLark {
|
|
|
9782
10004
|
|
|
9783
10005
|
/** AppNotification tooltipInfo */
|
|
9784
10006
|
tooltipInfo?: (CloudLark.ITooltipInfo|null);
|
|
10007
|
+
|
|
10008
|
+
/** AppNotification bigDataPacket */
|
|
10009
|
+
bigDataPacket?: (CloudLark.IBigDataPacket|null);
|
|
10010
|
+
|
|
10011
|
+
/** AppNotification openUrl */
|
|
10012
|
+
openUrl?: (CloudLark.IAppOpenUrl|null);
|
|
9785
10013
|
}
|
|
9786
10014
|
|
|
9787
10015
|
/** Represents an AppNotification. */
|
|
@@ -9850,8 +10078,14 @@ export namespace CloudLark {
|
|
|
9850
10078
|
/** AppNotification tooltipInfo. */
|
|
9851
10079
|
public tooltipInfo?: (CloudLark.ITooltipInfo|null);
|
|
9852
10080
|
|
|
10081
|
+
/** AppNotification bigDataPacket. */
|
|
10082
|
+
public bigDataPacket?: (CloudLark.IBigDataPacket|null);
|
|
10083
|
+
|
|
10084
|
+
/** AppNotification openUrl. */
|
|
10085
|
+
public openUrl?: (CloudLark.IAppOpenUrl|null);
|
|
10086
|
+
|
|
9853
10087
|
/** AppNotification notify. */
|
|
9854
|
-
public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr"|"rtmpState"|"rtmpError"|"notifyFeatures"|"serverStatics"|"appControlResult"|"videoFrame"|"tooltipInfo");
|
|
10088
|
+
public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr"|"rtmpState"|"rtmpError"|"notifyFeatures"|"serverStatics"|"appControlResult"|"videoFrame"|"tooltipInfo"|"bigDataPacket"|"openUrl");
|
|
9855
10089
|
|
|
9856
10090
|
/**
|
|
9857
10091
|
* Creates a new AppNotification instance using the specified properties.
|