larksr_websdk 3.2.401 → 3.2.403

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.
Files changed (63) hide show
  1. package/dist/doc/en/config.md +228 -0
  2. package/dist/doc/en/dev.md +84 -0
  3. package/dist/doc/en/event_codes.md +286 -0
  4. package/dist/doc/en/events.md +229 -0
  5. package/dist/doc/en/functions.md +603 -0
  6. package/dist/doc/en/index.md +115 -0
  7. package/dist/doc/en/member_variables.md +407 -0
  8. package/dist/doc/en/multi_media_3_2_401.md +84 -0
  9. package/dist/doc/en/sdkid_encryption.md +40 -0
  10. package/dist/doc/en/update.md +462 -0
  11. package/dist/doc/zh_CN/config.md +243 -0
  12. package/dist/doc/zh_CN/event_codes.md +286 -0
  13. package/dist/doc/zh_CN/events.md +229 -0
  14. package/dist/doc/zh_CN/functions.md +658 -0
  15. package/dist/doc/zh_CN/index.md +84 -0
  16. package/dist/doc/zh_CN/member_variables.md +431 -0
  17. package/dist/doc/zh_CN/multi_media_3_2_401.md +84 -0
  18. package/dist/doc/zh_CN/sdkid_encryption.md +40 -0
  19. package/dist/doc/zh_CN/update.md +579 -0
  20. package/dist/larksr-web-sdk.min.js +1 -1
  21. package/dist/types/api.d.ts +5 -3
  22. package/dist/types/appli_params.d.ts +13 -8
  23. package/dist/types/config.d.ts +0 -1
  24. package/dist/types/lark/Worker.d.ts +3 -0
  25. package/dist/types/lark/application.d.ts +29 -2
  26. package/dist/types/lark/custom.d.ts +6 -6
  27. package/dist/types/lark/peer_connection.d.ts +7 -2
  28. package/dist/types/lark/peer_connection_media_share.d.ts +1 -1
  29. package/dist/types/lark/webcodec.d.ts +40 -0
  30. package/dist/types/lark/webcodecs.generated.d.ts +417 -0
  31. package/dist/types/lark/websocket_channel.d.ts +1 -0
  32. package/dist/types/lark/websocket_proxy.d.ts +2 -0
  33. package/dist/types/larksr.d.ts +85 -12
  34. package/dist/types/localization/language.d.ts +2 -1
  35. package/dist/types/operation/operation.d.ts +5 -0
  36. package/dist/types/protobuf/cloudlark.d.ts +1198 -102
  37. package/dist/types/screen_state.d.ts +12 -4
  38. package/dist/types/utils/lock_pointer.d.ts +2 -1
  39. package/dist/types/utils/scale_mode.d.ts +19 -0
  40. package/dist/types/utils/unit.d.ts +6 -0
  41. package/dist/types/utils/webgl_utils.d.ts +48 -0
  42. package/package.json +3 -2
  43. package/types/api.d.ts +5 -3
  44. package/types/appli_params.d.ts +13 -8
  45. package/types/config.d.ts +0 -1
  46. package/types/lark/Worker.d.ts +3 -0
  47. package/types/lark/application.d.ts +29 -2
  48. package/types/lark/custom.d.ts +6 -6
  49. package/types/lark/peer_connection.d.ts +7 -2
  50. package/types/lark/peer_connection_media_share.d.ts +1 -1
  51. package/types/lark/webcodec.d.ts +40 -0
  52. package/types/lark/webcodecs.generated.d.ts +417 -0
  53. package/types/lark/websocket_channel.d.ts +1 -0
  54. package/types/lark/websocket_proxy.d.ts +2 -0
  55. package/types/larksr.d.ts +85 -12
  56. package/types/localization/language.d.ts +2 -1
  57. package/types/operation/operation.d.ts +5 -0
  58. package/types/protobuf/cloudlark.d.ts +1198 -102
  59. package/types/screen_state.d.ts +12 -4
  60. package/types/utils/lock_pointer.d.ts +2 -1
  61. package/types/utils/scale_mode.d.ts +19 -0
  62. package/types/utils/unit.d.ts +6 -0
  63. package/types/utils/webgl_utils.d.ts +48 -0
@@ -422,6 +422,102 @@ export namespace CloudLark {
422
422
  XR = 4
423
423
  }
424
424
 
425
+ /** Properties of a TaskDesc. */
426
+ interface ITaskDesc {
427
+
428
+ /** TaskDesc desktopWidth */
429
+ desktopWidth?: (number|null);
430
+
431
+ /** TaskDesc desktopHeight */
432
+ desktopHeight?: (number|null);
433
+ }
434
+
435
+ /** Represents a TaskDesc. */
436
+ class TaskDesc implements ITaskDesc {
437
+
438
+ /**
439
+ * Constructs a new TaskDesc.
440
+ * @param [properties] Properties to set
441
+ */
442
+ constructor(properties?: CloudLark.ITaskDesc);
443
+
444
+ /** TaskDesc desktopWidth. */
445
+ public desktopWidth: number;
446
+
447
+ /** TaskDesc desktopHeight. */
448
+ public desktopHeight: number;
449
+
450
+ /**
451
+ * Creates a new TaskDesc instance using the specified properties.
452
+ * @param [properties] Properties to set
453
+ * @returns TaskDesc instance
454
+ */
455
+ public static create(properties?: CloudLark.ITaskDesc): CloudLark.TaskDesc;
456
+
457
+ /**
458
+ * Encodes the specified TaskDesc message. Does not implicitly {@link CloudLark.TaskDesc.verify|verify} messages.
459
+ * @param message TaskDesc message or plain object to encode
460
+ * @param [writer] Writer to encode to
461
+ * @returns Writer
462
+ */
463
+ public static encode(message: CloudLark.ITaskDesc, writer?: $protobuf.Writer): $protobuf.Writer;
464
+
465
+ /**
466
+ * Encodes the specified TaskDesc message, length delimited. Does not implicitly {@link CloudLark.TaskDesc.verify|verify} messages.
467
+ * @param message TaskDesc message or plain object to encode
468
+ * @param [writer] Writer to encode to
469
+ * @returns Writer
470
+ */
471
+ public static encodeDelimited(message: CloudLark.ITaskDesc, writer?: $protobuf.Writer): $protobuf.Writer;
472
+
473
+ /**
474
+ * Decodes a TaskDesc message from the specified reader or buffer.
475
+ * @param reader Reader or buffer to decode from
476
+ * @param [length] Message length if known beforehand
477
+ * @returns TaskDesc
478
+ * @throws {Error} If the payload is not a reader or valid buffer
479
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
480
+ */
481
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.TaskDesc;
482
+
483
+ /**
484
+ * Decodes a TaskDesc message from the specified reader or buffer, length delimited.
485
+ * @param reader Reader or buffer to decode from
486
+ * @returns TaskDesc
487
+ * @throws {Error} If the payload is not a reader or valid buffer
488
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
489
+ */
490
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.TaskDesc;
491
+
492
+ /**
493
+ * Verifies a TaskDesc message.
494
+ * @param message Plain object to verify
495
+ * @returns `null` if valid, otherwise the reason why it is not
496
+ */
497
+ public static verify(message: { [k: string]: any }): (string|null);
498
+
499
+ /**
500
+ * Creates a TaskDesc message from a plain object. Also converts values to their respective internal types.
501
+ * @param object Plain object
502
+ * @returns TaskDesc
503
+ */
504
+ public static fromObject(object: { [k: string]: any }): CloudLark.TaskDesc;
505
+
506
+ /**
507
+ * Creates a plain object from a TaskDesc message. Also converts values to other types if specified.
508
+ * @param message TaskDesc
509
+ * @param [options] Conversion options
510
+ * @returns Plain object
511
+ */
512
+ public static toObject(message: CloudLark.TaskDesc, options?: $protobuf.IConversionOptions): { [k: string]: any };
513
+
514
+ /**
515
+ * Converts this TaskDesc to JSON.
516
+ * @returns JSON object
517
+ */
518
+ public toJSON(): { [k: string]: any };
519
+ }
520
+
425
521
  /** Properties of a TaskResponse. */
426
522
  interface ITaskResponse {
427
523
 
@@ -436,6 +532,9 @@ export namespace CloudLark {
436
532
 
437
533
  /** TaskResponse reason */
438
534
  reason?: (string|null);
535
+
536
+ /** TaskResponse desc */
537
+ desc?: (CloudLark.ITaskDesc|null);
439
538
  }
440
539
 
441
540
  /** Represents a TaskResponse. */
@@ -459,6 +558,9 @@ export namespace CloudLark {
459
558
  /** TaskResponse reason. */
460
559
  public reason: string;
461
560
 
561
+ /** TaskResponse desc. */
562
+ public desc?: (CloudLark.ITaskDesc|null);
563
+
462
564
  /**
463
565
  * Creates a new TaskResponse instance using the specified properties.
464
566
  * @param [properties] Properties to set
@@ -556,6 +658,9 @@ export namespace CloudLark {
556
658
 
557
659
  /** StartStreamRequest bitrateKbps */
558
660
  bitrateKbps?: (number|null);
661
+
662
+ /** StartStreamRequest useWebcodec */
663
+ useWebcodec?: (boolean|null);
559
664
  }
560
665
 
561
666
  /** Represents a StartStreamRequest. */
@@ -579,6 +684,9 @@ export namespace CloudLark {
579
684
  /** StartStreamRequest bitrateKbps. */
580
685
  public bitrateKbps: number;
581
686
 
687
+ /** StartStreamRequest useWebcodec. */
688
+ public useWebcodec: boolean;
689
+
582
690
  /**
583
691
  * Creates a new StartStreamRequest instance using the specified properties.
584
692
  * @param [properties] Properties to set
@@ -7696,6 +7804,9 @@ export namespace CloudLark {
7696
7804
 
7697
7805
  /** VideoReconfigure bitrate */
7698
7806
  bitrate?: (number|null);
7807
+
7808
+ /** VideoReconfigure fps */
7809
+ fps?: (number|null);
7699
7810
  }
7700
7811
 
7701
7812
  /** Represents a VideoReconfigure. */
@@ -7710,8 +7821,11 @@ export namespace CloudLark {
7710
7821
  /** VideoReconfigure bitrate. */
7711
7822
  public bitrate?: (number|null);
7712
7823
 
7824
+ /** VideoReconfigure fps. */
7825
+ public fps?: (number|null);
7826
+
7713
7827
  /** VideoReconfigure video. */
7714
- public video?: "bitrate";
7828
+ public video?: ("bitrate"|"fps");
7715
7829
 
7716
7830
  /**
7717
7831
  * Creates a new VideoReconfigure instance using the specified properties.
@@ -8018,155 +8132,1116 @@ export namespace CloudLark {
8018
8132
  public toJSON(): { [k: string]: any };
8019
8133
  }
8020
8134
 
8021
- /** Properties of a ClientInput. */
8022
- interface IClientInput {
8135
+ /** Properties of a ShowDebugLayout. */
8136
+ interface IShowDebugLayout {
8023
8137
 
8024
- /** ClientInput mouseMove */
8025
- mouseMove?: (CloudLark.IMouseMove|null);
8138
+ /** ShowDebugLayout open */
8139
+ open?: (boolean|null);
8140
+ }
8026
8141
 
8027
- /** ClientInput mouseDown */
8028
- mouseDown?: (CloudLark.IMouseDown|null);
8142
+ /** Represents a ShowDebugLayout. */
8143
+ class ShowDebugLayout implements IShowDebugLayout {
8029
8144
 
8030
- /** ClientInput mouseUp */
8031
- mouseUp?: (CloudLark.IMouseUp|null);
8145
+ /**
8146
+ * Constructs a new ShowDebugLayout.
8147
+ * @param [properties] Properties to set
8148
+ */
8149
+ constructor(properties?: CloudLark.IShowDebugLayout);
8032
8150
 
8033
- /** ClientInput mouseWheel */
8034
- mouseWheel?: (CloudLark.IMouseWheel|null);
8151
+ /** ShowDebugLayout open. */
8152
+ public open: boolean;
8035
8153
 
8036
- /** ClientInput keyDown */
8037
- keyDown?: (CloudLark.IKeyDown|null);
8154
+ /**
8155
+ * Creates a new ShowDebugLayout instance using the specified properties.
8156
+ * @param [properties] Properties to set
8157
+ * @returns ShowDebugLayout instance
8158
+ */
8159
+ public static create(properties?: CloudLark.IShowDebugLayout): CloudLark.ShowDebugLayout;
8038
8160
 
8039
- /** ClientInput keyUp */
8040
- keyUp?: (CloudLark.IKeyUp|null);
8161
+ /**
8162
+ * Encodes the specified ShowDebugLayout message. Does not implicitly {@link CloudLark.ShowDebugLayout.verify|verify} messages.
8163
+ * @param message ShowDebugLayout message or plain object to encode
8164
+ * @param [writer] Writer to encode to
8165
+ * @returns Writer
8166
+ */
8167
+ public static encode(message: CloudLark.IShowDebugLayout, writer?: $protobuf.Writer): $protobuf.Writer;
8041
8168
 
8042
- /** ClientInput clientEnter */
8043
- clientEnter?: (CloudLark.IClientEnter|null);
8169
+ /**
8170
+ * Encodes the specified ShowDebugLayout message, length delimited. Does not implicitly {@link CloudLark.ShowDebugLayout.verify|verify} messages.
8171
+ * @param message ShowDebugLayout message or plain object to encode
8172
+ * @param [writer] Writer to encode to
8173
+ * @returns Writer
8174
+ */
8175
+ public static encodeDelimited(message: CloudLark.IShowDebugLayout, writer?: $protobuf.Writer): $protobuf.Writer;
8044
8176
 
8045
- /** ClientInput clientLeave */
8046
- clientLeave?: (CloudLark.IClientLeave|null);
8177
+ /**
8178
+ * Decodes a ShowDebugLayout message from the specified reader or buffer.
8179
+ * @param reader Reader or buffer to decode from
8180
+ * @param [length] Message length if known beforehand
8181
+ * @returns ShowDebugLayout
8182
+ * @throws {Error} If the payload is not a reader or valid buffer
8183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8184
+ */
8185
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.ShowDebugLayout;
8047
8186
 
8048
- /** ClientInput dispatchController */
8049
- dispatchController?: (CloudLark.IDispatchController|null);
8187
+ /**
8188
+ * Decodes a ShowDebugLayout message from the specified reader or buffer, length delimited.
8189
+ * @param reader Reader or buffer to decode from
8190
+ * @returns ShowDebugLayout
8191
+ * @throws {Error} If the payload is not a reader or valid buffer
8192
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8193
+ */
8194
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.ShowDebugLayout;
8050
8195
 
8051
- /** ClientInput requesController */
8052
- requesController?: (CloudLark.IRequestController|null);
8196
+ /**
8197
+ * Verifies a ShowDebugLayout message.
8198
+ * @param message Plain object to verify
8199
+ * @returns `null` if valid, otherwise the reason why it is not
8200
+ */
8201
+ public static verify(message: { [k: string]: any }): (string|null);
8053
8202
 
8054
- /** ClientInput textInput */
8055
- textInput?: (CloudLark.ITextInput|null);
8203
+ /**
8204
+ * Creates a ShowDebugLayout message from a plain object. Also converts values to their respective internal types.
8205
+ * @param object Plain object
8206
+ * @returns ShowDebugLayout
8207
+ */
8208
+ public static fromObject(object: { [k: string]: any }): CloudLark.ShowDebugLayout;
8056
8209
 
8057
- /** ClientInput gamepadInputJoystickStates */
8058
- gamepadInputJoystickStates?: (CloudLark.IGamepadInputJoyStickStates|null);
8210
+ /**
8211
+ * Creates a plain object from a ShowDebugLayout message. Also converts values to other types if specified.
8212
+ * @param message ShowDebugLayout
8213
+ * @param [options] Conversion options
8214
+ * @returns Plain object
8215
+ */
8216
+ public static toObject(message: CloudLark.ShowDebugLayout, options?: $protobuf.IConversionOptions): { [k: string]: any };
8059
8217
 
8060
- /** ClientInput gamepadInputButtonDown */
8061
- gamepadInputButtonDown?: (CloudLark.IGamepadInputButtonDown|null);
8218
+ /**
8219
+ * Converts this ShowDebugLayout to JSON.
8220
+ * @returns JSON object
8221
+ */
8222
+ public toJSON(): { [k: string]: any };
8223
+ }
8062
8224
 
8063
- /** ClientInput gamepadInputButtonUp */
8064
- gamepadInputButtonUp?: (CloudLark.IGamepadInputButtonUp|null);
8225
+ /** Properties of an AerialViewBox. */
8226
+ interface IAerialViewBox {
8065
8227
 
8066
- /** ClientInput gamepadInputTriger */
8067
- gamepadInputTriger?: (CloudLark.IGamepadInputTriger|null);
8228
+ /** AerialViewBox minx */
8229
+ minx?: (number|null);
8068
8230
 
8069
- /** ClientInput clientDcMsg */
8070
- clientDcMsg?: (CloudLark.IAppDataChannelMessage|null);
8231
+ /** AerialViewBox maxx */
8232
+ maxx?: (number|null);
8071
8233
 
8072
- /** ClientInput touchMove */
8073
- touchMove?: (CloudLark.ITouchMove|null);
8234
+ /** AerialViewBox miny */
8235
+ miny?: (number|null);
8074
8236
 
8075
- /** ClientInput touchDown */
8076
- touchDown?: (CloudLark.ITouchDown|null);
8237
+ /** AerialViewBox maxy */
8238
+ maxy?: (number|null);
8239
+ }
8077
8240
 
8078
- /** ClientInput touchUp */
8079
- touchUp?: (CloudLark.ITouchUp|null);
8241
+ /** Represents an AerialViewBox. */
8242
+ class AerialViewBox implements IAerialViewBox {
8080
8243
 
8081
- /** ClientInput aiVoicestreamStart */
8082
- aiVoicestreamStart?: (CloudLark.IAiVoiceStreamStart|null);
8244
+ /**
8245
+ * Constructs a new AerialViewBox.
8246
+ * @param [properties] Properties to set
8247
+ */
8248
+ constructor(properties?: CloudLark.IAerialViewBox);
8083
8249
 
8084
- /** ClientInput aiVoicestreamSlice */
8085
- aiVoicestreamSlice?: (CloudLark.IAiVoiceStreamSlice|null);
8250
+ /** AerialViewBox minx. */
8251
+ public minx: number;
8086
8252
 
8087
- /** ClientInput aiVoicestreamStop */
8088
- aiVoicestreamStop?: (CloudLark.IAiVoiceStreamStop|null);
8253
+ /** AerialViewBox maxx. */
8254
+ public maxx: number;
8089
8255
 
8090
- /** ClientInput aiVoicestreamReset */
8091
- aiVoicestreamReset?: (CloudLark.IAiVoiceStreamReset|null);
8256
+ /** AerialViewBox miny. */
8257
+ public miny: number;
8092
8258
 
8093
- /** ClientInput aiVoiceText */
8094
- aiVoiceText?: (CloudLark.IAiVoiceText|null);
8259
+ /** AerialViewBox maxy. */
8260
+ public maxy: number;
8095
8261
 
8096
- /** ClientInput rtmpStart */
8097
- rtmpStart?: (CloudLark.IRtmp_Start|null);
8262
+ /**
8263
+ * Creates a new AerialViewBox instance using the specified properties.
8264
+ * @param [properties] Properties to set
8265
+ * @returns AerialViewBox instance
8266
+ */
8267
+ public static create(properties?: CloudLark.IAerialViewBox): CloudLark.AerialViewBox;
8098
8268
 
8099
- /** ClientInput rtmpStop */
8100
- rtmpStop?: (CloudLark.IRtmp_Stop|null);
8269
+ /**
8270
+ * Encodes the specified AerialViewBox message. Does not implicitly {@link CloudLark.AerialViewBox.verify|verify} messages.
8271
+ * @param message AerialViewBox message or plain object to encode
8272
+ * @param [writer] Writer to encode to
8273
+ * @returns Writer
8274
+ */
8275
+ public static encode(message: CloudLark.IAerialViewBox, writer?: $protobuf.Writer): $protobuf.Writer;
8101
8276
 
8102
- /** ClientInput videoConfigure */
8103
- videoConfigure?: (CloudLark.IVideoReconfigure|null);
8277
+ /**
8278
+ * Encodes the specified AerialViewBox message, length delimited. Does not implicitly {@link CloudLark.AerialViewBox.verify|verify} messages.
8279
+ * @param message AerialViewBox message or plain object to encode
8280
+ * @param [writer] Writer to encode to
8281
+ * @returns Writer
8282
+ */
8283
+ public static encodeDelimited(message: CloudLark.IAerialViewBox, writer?: $protobuf.Writer): $protobuf.Writer;
8104
8284
 
8105
- /** ClientInput clientStatics */
8106
- clientStatics?: (CloudLark.IClientStatics|null);
8107
- }
8285
+ /**
8286
+ * Decodes an AerialViewBox message from the specified reader or buffer.
8287
+ * @param reader Reader or buffer to decode from
8288
+ * @param [length] Message length if known beforehand
8289
+ * @returns AerialViewBox
8290
+ * @throws {Error} If the payload is not a reader or valid buffer
8291
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8292
+ */
8293
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.AerialViewBox;
8108
8294
 
8109
- /** Represents a ClientInput. */
8110
- class ClientInput implements IClientInput {
8295
+ /**
8296
+ * Decodes an AerialViewBox message from the specified reader or buffer, length delimited.
8297
+ * @param reader Reader or buffer to decode from
8298
+ * @returns AerialViewBox
8299
+ * @throws {Error} If the payload is not a reader or valid buffer
8300
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8301
+ */
8302
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.AerialViewBox;
8111
8303
 
8112
8304
  /**
8113
- * Constructs a new ClientInput.
8114
- * @param [properties] Properties to set
8305
+ * Verifies an AerialViewBox message.
8306
+ * @param message Plain object to verify
8307
+ * @returns `null` if valid, otherwise the reason why it is not
8115
8308
  */
8116
- constructor(properties?: CloudLark.IClientInput);
8309
+ public static verify(message: { [k: string]: any }): (string|null);
8117
8310
 
8118
- /** ClientInput mouseMove. */
8119
- public mouseMove?: (CloudLark.IMouseMove|null);
8311
+ /**
8312
+ * Creates an AerialViewBox message from a plain object. Also converts values to their respective internal types.
8313
+ * @param object Plain object
8314
+ * @returns AerialViewBox
8315
+ */
8316
+ public static fromObject(object: { [k: string]: any }): CloudLark.AerialViewBox;
8120
8317
 
8121
- /** ClientInput mouseDown. */
8122
- public mouseDown?: (CloudLark.IMouseDown|null);
8318
+ /**
8319
+ * Creates a plain object from an AerialViewBox message. Also converts values to other types if specified.
8320
+ * @param message AerialViewBox
8321
+ * @param [options] Conversion options
8322
+ * @returns Plain object
8323
+ */
8324
+ public static toObject(message: CloudLark.AerialViewBox, options?: $protobuf.IConversionOptions): { [k: string]: any };
8123
8325
 
8124
- /** ClientInput mouseUp. */
8125
- public mouseUp?: (CloudLark.IMouseUp|null);
8326
+ /**
8327
+ * Converts this AerialViewBox to JSON.
8328
+ * @returns JSON object
8329
+ */
8330
+ public toJSON(): { [k: string]: any };
8331
+ }
8126
8332
 
8127
- /** ClientInput mouseWheel. */
8128
- public mouseWheel?: (CloudLark.IMouseWheel|null);
8333
+ /** Properties of an AerialViewMode. */
8334
+ interface IAerialViewMode {
8129
8335
 
8130
- /** ClientInput keyDown. */
8131
- public keyDown?: (CloudLark.IKeyDown|null);
8336
+ /** AerialViewMode open */
8337
+ open?: (boolean|null);
8132
8338
 
8133
- /** ClientInput keyUp. */
8134
- public keyUp?: (CloudLark.IKeyUp|null);
8339
+ /** AerialViewMode interval */
8340
+ interval?: (number|null);
8135
8341
 
8136
- /** ClientInput clientEnter. */
8137
- public clientEnter?: (CloudLark.IClientEnter|null);
8342
+ /** AerialViewMode thumbnailWidth */
8343
+ thumbnailWidth?: (number|null);
8138
8344
 
8139
- /** ClientInput clientLeave. */
8140
- public clientLeave?: (CloudLark.IClientLeave|null);
8345
+ /** AerialViewMode thumbnailHeight */
8346
+ thumbnailHeight?: (number|null);
8141
8347
 
8142
- /** ClientInput dispatchController. */
8143
- public dispatchController?: (CloudLark.IDispatchController|null);
8348
+ /** AerialViewMode viewbox */
8349
+ viewbox?: (CloudLark.IAerialViewBox|null);
8350
+ }
8144
8351
 
8145
- /** ClientInput requesController. */
8146
- public requesController?: (CloudLark.IRequestController|null);
8352
+ /** Represents an AerialViewMode. */
8353
+ class AerialViewMode implements IAerialViewMode {
8147
8354
 
8148
- /** ClientInput textInput. */
8149
- public textInput?: (CloudLark.ITextInput|null);
8355
+ /**
8356
+ * Constructs a new AerialViewMode.
8357
+ * @param [properties] Properties to set
8358
+ */
8359
+ constructor(properties?: CloudLark.IAerialViewMode);
8150
8360
 
8151
- /** ClientInput gamepadInputJoystickStates. */
8152
- public gamepadInputJoystickStates?: (CloudLark.IGamepadInputJoyStickStates|null);
8361
+ /** AerialViewMode open. */
8362
+ public open: boolean;
8153
8363
 
8154
- /** ClientInput gamepadInputButtonDown. */
8155
- public gamepadInputButtonDown?: (CloudLark.IGamepadInputButtonDown|null);
8364
+ /** AerialViewMode interval. */
8365
+ public interval: number;
8156
8366
 
8157
- /** ClientInput gamepadInputButtonUp. */
8158
- public gamepadInputButtonUp?: (CloudLark.IGamepadInputButtonUp|null);
8367
+ /** AerialViewMode thumbnailWidth. */
8368
+ public thumbnailWidth: number;
8159
8369
 
8160
- /** ClientInput gamepadInputTriger. */
8161
- public gamepadInputTriger?: (CloudLark.IGamepadInputTriger|null);
8370
+ /** AerialViewMode thumbnailHeight. */
8371
+ public thumbnailHeight: number;
8162
8372
 
8163
- /** ClientInput clientDcMsg. */
8164
- public clientDcMsg?: (CloudLark.IAppDataChannelMessage|null);
8373
+ /** AerialViewMode viewbox. */
8374
+ public viewbox?: (CloudLark.IAerialViewBox|null);
8165
8375
 
8166
- /** ClientInput touchMove. */
8167
- public touchMove?: (CloudLark.ITouchMove|null);
8376
+ /**
8377
+ * Creates a new AerialViewMode instance using the specified properties.
8378
+ * @param [properties] Properties to set
8379
+ * @returns AerialViewMode instance
8380
+ */
8381
+ public static create(properties?: CloudLark.IAerialViewMode): CloudLark.AerialViewMode;
8168
8382
 
8169
- /** ClientInput touchDown. */
8383
+ /**
8384
+ * Encodes the specified AerialViewMode message. Does not implicitly {@link CloudLark.AerialViewMode.verify|verify} messages.
8385
+ * @param message AerialViewMode message or plain object to encode
8386
+ * @param [writer] Writer to encode to
8387
+ * @returns Writer
8388
+ */
8389
+ public static encode(message: CloudLark.IAerialViewMode, writer?: $protobuf.Writer): $protobuf.Writer;
8390
+
8391
+ /**
8392
+ * Encodes the specified AerialViewMode message, length delimited. Does not implicitly {@link CloudLark.AerialViewMode.verify|verify} messages.
8393
+ * @param message AerialViewMode message or plain object to encode
8394
+ * @param [writer] Writer to encode to
8395
+ * @returns Writer
8396
+ */
8397
+ public static encodeDelimited(message: CloudLark.IAerialViewMode, writer?: $protobuf.Writer): $protobuf.Writer;
8398
+
8399
+ /**
8400
+ * Decodes an AerialViewMode message from the specified reader or buffer.
8401
+ * @param reader Reader or buffer to decode from
8402
+ * @param [length] Message length if known beforehand
8403
+ * @returns AerialViewMode
8404
+ * @throws {Error} If the payload is not a reader or valid buffer
8405
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8406
+ */
8407
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.AerialViewMode;
8408
+
8409
+ /**
8410
+ * Decodes an AerialViewMode message from the specified reader or buffer, length delimited.
8411
+ * @param reader Reader or buffer to decode from
8412
+ * @returns AerialViewMode
8413
+ * @throws {Error} If the payload is not a reader or valid buffer
8414
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8415
+ */
8416
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.AerialViewMode;
8417
+
8418
+ /**
8419
+ * Verifies an AerialViewMode message.
8420
+ * @param message Plain object to verify
8421
+ * @returns `null` if valid, otherwise the reason why it is not
8422
+ */
8423
+ public static verify(message: { [k: string]: any }): (string|null);
8424
+
8425
+ /**
8426
+ * Creates an AerialViewMode message from a plain object. Also converts values to their respective internal types.
8427
+ * @param object Plain object
8428
+ * @returns AerialViewMode
8429
+ */
8430
+ public static fromObject(object: { [k: string]: any }): CloudLark.AerialViewMode;
8431
+
8432
+ /**
8433
+ * Creates a plain object from an AerialViewMode message. Also converts values to other types if specified.
8434
+ * @param message AerialViewMode
8435
+ * @param [options] Conversion options
8436
+ * @returns Plain object
8437
+ */
8438
+ public static toObject(message: CloudLark.AerialViewMode, options?: $protobuf.IConversionOptions): { [k: string]: any };
8439
+
8440
+ /**
8441
+ * Converts this AerialViewMode to JSON.
8442
+ * @returns JSON object
8443
+ */
8444
+ public toJSON(): { [k: string]: any };
8445
+ }
8446
+
8447
+ /** Properties of an AerialViewStatus. */
8448
+ interface IAerialViewStatus {
8449
+
8450
+ /** AerialViewStatus status */
8451
+ status?: (boolean|null);
8452
+
8453
+ /** AerialViewStatus currentBox */
8454
+ currentBox?: (CloudLark.IAerialViewBox|null);
8455
+ }
8456
+
8457
+ /** Represents an AerialViewStatus. */
8458
+ class AerialViewStatus implements IAerialViewStatus {
8459
+
8460
+ /**
8461
+ * Constructs a new AerialViewStatus.
8462
+ * @param [properties] Properties to set
8463
+ */
8464
+ constructor(properties?: CloudLark.IAerialViewStatus);
8465
+
8466
+ /** AerialViewStatus status. */
8467
+ public status: boolean;
8468
+
8469
+ /** AerialViewStatus currentBox. */
8470
+ public currentBox?: (CloudLark.IAerialViewBox|null);
8471
+
8472
+ /**
8473
+ * Creates a new AerialViewStatus instance using the specified properties.
8474
+ * @param [properties] Properties to set
8475
+ * @returns AerialViewStatus instance
8476
+ */
8477
+ public static create(properties?: CloudLark.IAerialViewStatus): CloudLark.AerialViewStatus;
8478
+
8479
+ /**
8480
+ * Encodes the specified AerialViewStatus message. Does not implicitly {@link CloudLark.AerialViewStatus.verify|verify} messages.
8481
+ * @param message AerialViewStatus message or plain object to encode
8482
+ * @param [writer] Writer to encode to
8483
+ * @returns Writer
8484
+ */
8485
+ public static encode(message: CloudLark.IAerialViewStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8486
+
8487
+ /**
8488
+ * Encodes the specified AerialViewStatus message, length delimited. Does not implicitly {@link CloudLark.AerialViewStatus.verify|verify} messages.
8489
+ * @param message AerialViewStatus message or plain object to encode
8490
+ * @param [writer] Writer to encode to
8491
+ * @returns Writer
8492
+ */
8493
+ public static encodeDelimited(message: CloudLark.IAerialViewStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8494
+
8495
+ /**
8496
+ * Decodes an AerialViewStatus message from the specified reader or buffer.
8497
+ * @param reader Reader or buffer to decode from
8498
+ * @param [length] Message length if known beforehand
8499
+ * @returns AerialViewStatus
8500
+ * @throws {Error} If the payload is not a reader or valid buffer
8501
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8502
+ */
8503
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.AerialViewStatus;
8504
+
8505
+ /**
8506
+ * Decodes an AerialViewStatus message from the specified reader or buffer, length delimited.
8507
+ * @param reader Reader or buffer to decode from
8508
+ * @returns AerialViewStatus
8509
+ * @throws {Error} If the payload is not a reader or valid buffer
8510
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8511
+ */
8512
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.AerialViewStatus;
8513
+
8514
+ /**
8515
+ * Verifies an AerialViewStatus message.
8516
+ * @param message Plain object to verify
8517
+ * @returns `null` if valid, otherwise the reason why it is not
8518
+ */
8519
+ public static verify(message: { [k: string]: any }): (string|null);
8520
+
8521
+ /**
8522
+ * Creates an AerialViewStatus message from a plain object. Also converts values to their respective internal types.
8523
+ * @param object Plain object
8524
+ * @returns AerialViewStatus
8525
+ */
8526
+ public static fromObject(object: { [k: string]: any }): CloudLark.AerialViewStatus;
8527
+
8528
+ /**
8529
+ * Creates a plain object from an AerialViewStatus message. Also converts values to other types if specified.
8530
+ * @param message AerialViewStatus
8531
+ * @param [options] Conversion options
8532
+ * @returns Plain object
8533
+ */
8534
+ public static toObject(message: CloudLark.AerialViewStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
8535
+
8536
+ /**
8537
+ * Converts this AerialViewStatus to JSON.
8538
+ * @returns JSON object
8539
+ */
8540
+ public toJSON(): { [k: string]: any };
8541
+ }
8542
+
8543
+ /** Properties of an AerialViewFullScreen. */
8544
+ interface IAerialViewFullScreen {
8545
+
8546
+ /** AerialViewFullScreen image */
8547
+ image?: (string|null);
8548
+ }
8549
+
8550
+ /** Represents an AerialViewFullScreen. */
8551
+ class AerialViewFullScreen implements IAerialViewFullScreen {
8552
+
8553
+ /**
8554
+ * Constructs a new AerialViewFullScreen.
8555
+ * @param [properties] Properties to set
8556
+ */
8557
+ constructor(properties?: CloudLark.IAerialViewFullScreen);
8558
+
8559
+ /** AerialViewFullScreen image. */
8560
+ public image: string;
8561
+
8562
+ /**
8563
+ * Creates a new AerialViewFullScreen instance using the specified properties.
8564
+ * @param [properties] Properties to set
8565
+ * @returns AerialViewFullScreen instance
8566
+ */
8567
+ public static create(properties?: CloudLark.IAerialViewFullScreen): CloudLark.AerialViewFullScreen;
8568
+
8569
+ /**
8570
+ * Encodes the specified AerialViewFullScreen message. Does not implicitly {@link CloudLark.AerialViewFullScreen.verify|verify} messages.
8571
+ * @param message AerialViewFullScreen message or plain object to encode
8572
+ * @param [writer] Writer to encode to
8573
+ * @returns Writer
8574
+ */
8575
+ public static encode(message: CloudLark.IAerialViewFullScreen, writer?: $protobuf.Writer): $protobuf.Writer;
8576
+
8577
+ /**
8578
+ * Encodes the specified AerialViewFullScreen message, length delimited. Does not implicitly {@link CloudLark.AerialViewFullScreen.verify|verify} messages.
8579
+ * @param message AerialViewFullScreen message or plain object to encode
8580
+ * @param [writer] Writer to encode to
8581
+ * @returns Writer
8582
+ */
8583
+ public static encodeDelimited(message: CloudLark.IAerialViewFullScreen, writer?: $protobuf.Writer): $protobuf.Writer;
8584
+
8585
+ /**
8586
+ * Decodes an AerialViewFullScreen message from the specified reader or buffer.
8587
+ * @param reader Reader or buffer to decode from
8588
+ * @param [length] Message length if known beforehand
8589
+ * @returns AerialViewFullScreen
8590
+ * @throws {Error} If the payload is not a reader or valid buffer
8591
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8592
+ */
8593
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.AerialViewFullScreen;
8594
+
8595
+ /**
8596
+ * Decodes an AerialViewFullScreen message from the specified reader or buffer, length delimited.
8597
+ * @param reader Reader or buffer to decode from
8598
+ * @returns AerialViewFullScreen
8599
+ * @throws {Error} If the payload is not a reader or valid buffer
8600
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8601
+ */
8602
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.AerialViewFullScreen;
8603
+
8604
+ /**
8605
+ * Verifies an AerialViewFullScreen message.
8606
+ * @param message Plain object to verify
8607
+ * @returns `null` if valid, otherwise the reason why it is not
8608
+ */
8609
+ public static verify(message: { [k: string]: any }): (string|null);
8610
+
8611
+ /**
8612
+ * Creates an AerialViewFullScreen message from a plain object. Also converts values to their respective internal types.
8613
+ * @param object Plain object
8614
+ * @returns AerialViewFullScreen
8615
+ */
8616
+ public static fromObject(object: { [k: string]: any }): CloudLark.AerialViewFullScreen;
8617
+
8618
+ /**
8619
+ * Creates a plain object from an AerialViewFullScreen message. Also converts values to other types if specified.
8620
+ * @param message AerialViewFullScreen
8621
+ * @param [options] Conversion options
8622
+ * @returns Plain object
8623
+ */
8624
+ public static toObject(message: CloudLark.AerialViewFullScreen, options?: $protobuf.IConversionOptions): { [k: string]: any };
8625
+
8626
+ /**
8627
+ * Converts this AerialViewFullScreen to JSON.
8628
+ * @returns JSON object
8629
+ */
8630
+ public toJSON(): { [k: string]: any };
8631
+ }
8632
+
8633
+ /** Properties of an ApplicationControl. */
8634
+ interface IApplicationControl {
8635
+
8636
+ /** ApplicationControl resize */
8637
+ resize?: (CloudLark.IAppResize|null);
8638
+
8639
+ /** ApplicationControl restart */
8640
+ restart?: (boolean|null);
8641
+
8642
+ /** ApplicationControl aerialview */
8643
+ aerialview?: (CloudLark.IAerialViewMode|null);
8644
+
8645
+ /** ApplicationControl aerialviewBox */
8646
+ aerialviewBox?: (CloudLark.IAerialViewBox|null);
8647
+ }
8648
+
8649
+ /** Represents an ApplicationControl. */
8650
+ class ApplicationControl implements IApplicationControl {
8651
+
8652
+ /**
8653
+ * Constructs a new ApplicationControl.
8654
+ * @param [properties] Properties to set
8655
+ */
8656
+ constructor(properties?: CloudLark.IApplicationControl);
8657
+
8658
+ /** ApplicationControl resize. */
8659
+ public resize?: (CloudLark.IAppResize|null);
8660
+
8661
+ /** ApplicationControl restart. */
8662
+ public restart?: (boolean|null);
8663
+
8664
+ /** ApplicationControl aerialview. */
8665
+ public aerialview?: (CloudLark.IAerialViewMode|null);
8666
+
8667
+ /** ApplicationControl aerialviewBox. */
8668
+ public aerialviewBox?: (CloudLark.IAerialViewBox|null);
8669
+
8670
+ /** ApplicationControl app. */
8671
+ public app?: ("resize"|"restart"|"aerialview"|"aerialviewBox");
8672
+
8673
+ /**
8674
+ * Creates a new ApplicationControl instance using the specified properties.
8675
+ * @param [properties] Properties to set
8676
+ * @returns ApplicationControl instance
8677
+ */
8678
+ public static create(properties?: CloudLark.IApplicationControl): CloudLark.ApplicationControl;
8679
+
8680
+ /**
8681
+ * Encodes the specified ApplicationControl message. Does not implicitly {@link CloudLark.ApplicationControl.verify|verify} messages.
8682
+ * @param message ApplicationControl message or plain object to encode
8683
+ * @param [writer] Writer to encode to
8684
+ * @returns Writer
8685
+ */
8686
+ public static encode(message: CloudLark.IApplicationControl, writer?: $protobuf.Writer): $protobuf.Writer;
8687
+
8688
+ /**
8689
+ * Encodes the specified ApplicationControl message, length delimited. Does not implicitly {@link CloudLark.ApplicationControl.verify|verify} messages.
8690
+ * @param message ApplicationControl message or plain object to encode
8691
+ * @param [writer] Writer to encode to
8692
+ * @returns Writer
8693
+ */
8694
+ public static encodeDelimited(message: CloudLark.IApplicationControl, writer?: $protobuf.Writer): $protobuf.Writer;
8695
+
8696
+ /**
8697
+ * Decodes an ApplicationControl message from the specified reader or buffer.
8698
+ * @param reader Reader or buffer to decode from
8699
+ * @param [length] Message length if known beforehand
8700
+ * @returns ApplicationControl
8701
+ * @throws {Error} If the payload is not a reader or valid buffer
8702
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8703
+ */
8704
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.ApplicationControl;
8705
+
8706
+ /**
8707
+ * Decodes an ApplicationControl message from the specified reader or buffer, length delimited.
8708
+ * @param reader Reader or buffer to decode from
8709
+ * @returns ApplicationControl
8710
+ * @throws {Error} If the payload is not a reader or valid buffer
8711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8712
+ */
8713
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.ApplicationControl;
8714
+
8715
+ /**
8716
+ * Verifies an ApplicationControl message.
8717
+ * @param message Plain object to verify
8718
+ * @returns `null` if valid, otherwise the reason why it is not
8719
+ */
8720
+ public static verify(message: { [k: string]: any }): (string|null);
8721
+
8722
+ /**
8723
+ * Creates an ApplicationControl message from a plain object. Also converts values to their respective internal types.
8724
+ * @param object Plain object
8725
+ * @returns ApplicationControl
8726
+ */
8727
+ public static fromObject(object: { [k: string]: any }): CloudLark.ApplicationControl;
8728
+
8729
+ /**
8730
+ * Creates a plain object from an ApplicationControl message. Also converts values to other types if specified.
8731
+ * @param message ApplicationControl
8732
+ * @param [options] Conversion options
8733
+ * @returns Plain object
8734
+ */
8735
+ public static toObject(message: CloudLark.ApplicationControl, options?: $protobuf.IConversionOptions): { [k: string]: any };
8736
+
8737
+ /**
8738
+ * Converts this ApplicationControl to JSON.
8739
+ * @returns JSON object
8740
+ */
8741
+ public toJSON(): { [k: string]: any };
8742
+ }
8743
+
8744
+ /** Properties of an ApplicationControlResult. */
8745
+ interface IApplicationControlResult {
8746
+
8747
+ /** ApplicationControlResult aerialviewStatus */
8748
+ aerialviewStatus?: (CloudLark.IAerialViewStatus|null);
8749
+
8750
+ /** ApplicationControlResult aerialviewScreen */
8751
+ aerialviewScreen?: (CloudLark.IAerialViewFullScreen|null);
8752
+ }
8753
+
8754
+ /** Represents an ApplicationControlResult. */
8755
+ class ApplicationControlResult implements IApplicationControlResult {
8756
+
8757
+ /**
8758
+ * Constructs a new ApplicationControlResult.
8759
+ * @param [properties] Properties to set
8760
+ */
8761
+ constructor(properties?: CloudLark.IApplicationControlResult);
8762
+
8763
+ /** ApplicationControlResult aerialviewStatus. */
8764
+ public aerialviewStatus?: (CloudLark.IAerialViewStatus|null);
8765
+
8766
+ /** ApplicationControlResult aerialviewScreen. */
8767
+ public aerialviewScreen?: (CloudLark.IAerialViewFullScreen|null);
8768
+
8769
+ /** ApplicationControlResult app. */
8770
+ public app?: ("aerialviewStatus"|"aerialviewScreen");
8771
+
8772
+ /**
8773
+ * Creates a new ApplicationControlResult instance using the specified properties.
8774
+ * @param [properties] Properties to set
8775
+ * @returns ApplicationControlResult instance
8776
+ */
8777
+ public static create(properties?: CloudLark.IApplicationControlResult): CloudLark.ApplicationControlResult;
8778
+
8779
+ /**
8780
+ * Encodes the specified ApplicationControlResult message. Does not implicitly {@link CloudLark.ApplicationControlResult.verify|verify} messages.
8781
+ * @param message ApplicationControlResult message or plain object to encode
8782
+ * @param [writer] Writer to encode to
8783
+ * @returns Writer
8784
+ */
8785
+ public static encode(message: CloudLark.IApplicationControlResult, writer?: $protobuf.Writer): $protobuf.Writer;
8786
+
8787
+ /**
8788
+ * Encodes the specified ApplicationControlResult message, length delimited. Does not implicitly {@link CloudLark.ApplicationControlResult.verify|verify} messages.
8789
+ * @param message ApplicationControlResult message or plain object to encode
8790
+ * @param [writer] Writer to encode to
8791
+ * @returns Writer
8792
+ */
8793
+ public static encodeDelimited(message: CloudLark.IApplicationControlResult, writer?: $protobuf.Writer): $protobuf.Writer;
8794
+
8795
+ /**
8796
+ * Decodes an ApplicationControlResult message from the specified reader or buffer.
8797
+ * @param reader Reader or buffer to decode from
8798
+ * @param [length] Message length if known beforehand
8799
+ * @returns ApplicationControlResult
8800
+ * @throws {Error} If the payload is not a reader or valid buffer
8801
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8802
+ */
8803
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.ApplicationControlResult;
8804
+
8805
+ /**
8806
+ * Decodes an ApplicationControlResult message from the specified reader or buffer, length delimited.
8807
+ * @param reader Reader or buffer to decode from
8808
+ * @returns ApplicationControlResult
8809
+ * @throws {Error} If the payload is not a reader or valid buffer
8810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8811
+ */
8812
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.ApplicationControlResult;
8813
+
8814
+ /**
8815
+ * Verifies an ApplicationControlResult message.
8816
+ * @param message Plain object to verify
8817
+ * @returns `null` if valid, otherwise the reason why it is not
8818
+ */
8819
+ public static verify(message: { [k: string]: any }): (string|null);
8820
+
8821
+ /**
8822
+ * Creates an ApplicationControlResult message from a plain object. Also converts values to their respective internal types.
8823
+ * @param object Plain object
8824
+ * @returns ApplicationControlResult
8825
+ */
8826
+ public static fromObject(object: { [k: string]: any }): CloudLark.ApplicationControlResult;
8827
+
8828
+ /**
8829
+ * Creates a plain object from an ApplicationControlResult message. Also converts values to other types if specified.
8830
+ * @param message ApplicationControlResult
8831
+ * @param [options] Conversion options
8832
+ * @returns Plain object
8833
+ */
8834
+ public static toObject(message: CloudLark.ApplicationControlResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
8835
+
8836
+ /**
8837
+ * Converts this ApplicationControlResult to JSON.
8838
+ * @returns JSON object
8839
+ */
8840
+ public toJSON(): { [k: string]: any };
8841
+ }
8842
+
8843
+ /** Properties of a StreamVideoFrame. */
8844
+ interface IStreamVideoFrame {
8845
+
8846
+ /** StreamVideoFrame codec */
8847
+ codec?: (CloudLark.StreamVideoFrame.Codec|null);
8848
+
8849
+ /** StreamVideoFrame width */
8850
+ width?: (number|null);
8851
+
8852
+ /** StreamVideoFrame height */
8853
+ height?: (number|null);
8854
+
8855
+ /** StreamVideoFrame isKeyFrame */
8856
+ isKeyFrame?: (boolean|null);
8857
+
8858
+ /** StreamVideoFrame frameId */
8859
+ frameId?: (number|null);
8860
+
8861
+ /** StreamVideoFrame packetCounter */
8862
+ packetCounter?: (number|null);
8863
+
8864
+ /** StreamVideoFrame packetTotalSize */
8865
+ packetTotalSize?: (number|null);
8866
+
8867
+ /** StreamVideoFrame packetIndex */
8868
+ packetIndex?: (number|null);
8869
+
8870
+ /** StreamVideoFrame packetSize */
8871
+ packetSize?: (number|null);
8872
+
8873
+ /** StreamVideoFrame data */
8874
+ data?: (Uint8Array|null);
8875
+ }
8876
+
8877
+ /** Represents a StreamVideoFrame. */
8878
+ class StreamVideoFrame implements IStreamVideoFrame {
8879
+
8880
+ /**
8881
+ * Constructs a new StreamVideoFrame.
8882
+ * @param [properties] Properties to set
8883
+ */
8884
+ constructor(properties?: CloudLark.IStreamVideoFrame);
8885
+
8886
+ /** StreamVideoFrame codec. */
8887
+ public codec: CloudLark.StreamVideoFrame.Codec;
8888
+
8889
+ /** StreamVideoFrame width. */
8890
+ public width: number;
8891
+
8892
+ /** StreamVideoFrame height. */
8893
+ public height: number;
8894
+
8895
+ /** StreamVideoFrame isKeyFrame. */
8896
+ public isKeyFrame: boolean;
8897
+
8898
+ /** StreamVideoFrame frameId. */
8899
+ public frameId: number;
8900
+
8901
+ /** StreamVideoFrame packetCounter. */
8902
+ public packetCounter: number;
8903
+
8904
+ /** StreamVideoFrame packetTotalSize. */
8905
+ public packetTotalSize: number;
8906
+
8907
+ /** StreamVideoFrame packetIndex. */
8908
+ public packetIndex: number;
8909
+
8910
+ /** StreamVideoFrame packetSize. */
8911
+ public packetSize: number;
8912
+
8913
+ /** StreamVideoFrame data. */
8914
+ public data: Uint8Array;
8915
+
8916
+ /**
8917
+ * Creates a new StreamVideoFrame instance using the specified properties.
8918
+ * @param [properties] Properties to set
8919
+ * @returns StreamVideoFrame instance
8920
+ */
8921
+ public static create(properties?: CloudLark.IStreamVideoFrame): CloudLark.StreamVideoFrame;
8922
+
8923
+ /**
8924
+ * Encodes the specified StreamVideoFrame message. Does not implicitly {@link CloudLark.StreamVideoFrame.verify|verify} messages.
8925
+ * @param message StreamVideoFrame message or plain object to encode
8926
+ * @param [writer] Writer to encode to
8927
+ * @returns Writer
8928
+ */
8929
+ public static encode(message: CloudLark.IStreamVideoFrame, writer?: $protobuf.Writer): $protobuf.Writer;
8930
+
8931
+ /**
8932
+ * Encodes the specified StreamVideoFrame message, length delimited. Does not implicitly {@link CloudLark.StreamVideoFrame.verify|verify} messages.
8933
+ * @param message StreamVideoFrame message or plain object to encode
8934
+ * @param [writer] Writer to encode to
8935
+ * @returns Writer
8936
+ */
8937
+ public static encodeDelimited(message: CloudLark.IStreamVideoFrame, writer?: $protobuf.Writer): $protobuf.Writer;
8938
+
8939
+ /**
8940
+ * Decodes a StreamVideoFrame message from the specified reader or buffer.
8941
+ * @param reader Reader or buffer to decode from
8942
+ * @param [length] Message length if known beforehand
8943
+ * @returns StreamVideoFrame
8944
+ * @throws {Error} If the payload is not a reader or valid buffer
8945
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8946
+ */
8947
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.StreamVideoFrame;
8948
+
8949
+ /**
8950
+ * Decodes a StreamVideoFrame message from the specified reader or buffer, length delimited.
8951
+ * @param reader Reader or buffer to decode from
8952
+ * @returns StreamVideoFrame
8953
+ * @throws {Error} If the payload is not a reader or valid buffer
8954
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8955
+ */
8956
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.StreamVideoFrame;
8957
+
8958
+ /**
8959
+ * Verifies a StreamVideoFrame message.
8960
+ * @param message Plain object to verify
8961
+ * @returns `null` if valid, otherwise the reason why it is not
8962
+ */
8963
+ public static verify(message: { [k: string]: any }): (string|null);
8964
+
8965
+ /**
8966
+ * Creates a StreamVideoFrame message from a plain object. Also converts values to their respective internal types.
8967
+ * @param object Plain object
8968
+ * @returns StreamVideoFrame
8969
+ */
8970
+ public static fromObject(object: { [k: string]: any }): CloudLark.StreamVideoFrame;
8971
+
8972
+ /**
8973
+ * Creates a plain object from a StreamVideoFrame message. Also converts values to other types if specified.
8974
+ * @param message StreamVideoFrame
8975
+ * @param [options] Conversion options
8976
+ * @returns Plain object
8977
+ */
8978
+ public static toObject(message: CloudLark.StreamVideoFrame, options?: $protobuf.IConversionOptions): { [k: string]: any };
8979
+
8980
+ /**
8981
+ * Converts this StreamVideoFrame to JSON.
8982
+ * @returns JSON object
8983
+ */
8984
+ public toJSON(): { [k: string]: any };
8985
+ }
8986
+
8987
+ namespace StreamVideoFrame {
8988
+
8989
+ /** Codec enum. */
8990
+ enum Codec {
8991
+ HEVC = 0,
8992
+ AV1 = 1,
8993
+ H264 = 2
8994
+ }
8995
+ }
8996
+
8997
+ /** Properties of a StreamVideoControlForceIDR. */
8998
+ interface IStreamVideoControlForceIDR {
8999
+
9000
+ /** StreamVideoControlForceIDR enable */
9001
+ enable?: (boolean|null);
9002
+ }
9003
+
9004
+ /** Represents a StreamVideoControlForceIDR. */
9005
+ class StreamVideoControlForceIDR implements IStreamVideoControlForceIDR {
9006
+
9007
+ /**
9008
+ * Constructs a new StreamVideoControlForceIDR.
9009
+ * @param [properties] Properties to set
9010
+ */
9011
+ constructor(properties?: CloudLark.IStreamVideoControlForceIDR);
9012
+
9013
+ /** StreamVideoControlForceIDR enable. */
9014
+ public enable: boolean;
9015
+
9016
+ /**
9017
+ * Creates a new StreamVideoControlForceIDR instance using the specified properties.
9018
+ * @param [properties] Properties to set
9019
+ * @returns StreamVideoControlForceIDR instance
9020
+ */
9021
+ public static create(properties?: CloudLark.IStreamVideoControlForceIDR): CloudLark.StreamVideoControlForceIDR;
9022
+
9023
+ /**
9024
+ * Encodes the specified StreamVideoControlForceIDR message. Does not implicitly {@link CloudLark.StreamVideoControlForceIDR.verify|verify} messages.
9025
+ * @param message StreamVideoControlForceIDR message or plain object to encode
9026
+ * @param [writer] Writer to encode to
9027
+ * @returns Writer
9028
+ */
9029
+ public static encode(message: CloudLark.IStreamVideoControlForceIDR, writer?: $protobuf.Writer): $protobuf.Writer;
9030
+
9031
+ /**
9032
+ * Encodes the specified StreamVideoControlForceIDR message, length delimited. Does not implicitly {@link CloudLark.StreamVideoControlForceIDR.verify|verify} messages.
9033
+ * @param message StreamVideoControlForceIDR message or plain object to encode
9034
+ * @param [writer] Writer to encode to
9035
+ * @returns Writer
9036
+ */
9037
+ public static encodeDelimited(message: CloudLark.IStreamVideoControlForceIDR, writer?: $protobuf.Writer): $protobuf.Writer;
9038
+
9039
+ /**
9040
+ * Decodes a StreamVideoControlForceIDR message from the specified reader or buffer.
9041
+ * @param reader Reader or buffer to decode from
9042
+ * @param [length] Message length if known beforehand
9043
+ * @returns StreamVideoControlForceIDR
9044
+ * @throws {Error} If the payload is not a reader or valid buffer
9045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9046
+ */
9047
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.StreamVideoControlForceIDR;
9048
+
9049
+ /**
9050
+ * Decodes a StreamVideoControlForceIDR message from the specified reader or buffer, length delimited.
9051
+ * @param reader Reader or buffer to decode from
9052
+ * @returns StreamVideoControlForceIDR
9053
+ * @throws {Error} If the payload is not a reader or valid buffer
9054
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9055
+ */
9056
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.StreamVideoControlForceIDR;
9057
+
9058
+ /**
9059
+ * Verifies a StreamVideoControlForceIDR message.
9060
+ * @param message Plain object to verify
9061
+ * @returns `null` if valid, otherwise the reason why it is not
9062
+ */
9063
+ public static verify(message: { [k: string]: any }): (string|null);
9064
+
9065
+ /**
9066
+ * Creates a StreamVideoControlForceIDR message from a plain object. Also converts values to their respective internal types.
9067
+ * @param object Plain object
9068
+ * @returns StreamVideoControlForceIDR
9069
+ */
9070
+ public static fromObject(object: { [k: string]: any }): CloudLark.StreamVideoControlForceIDR;
9071
+
9072
+ /**
9073
+ * Creates a plain object from a StreamVideoControlForceIDR message. Also converts values to other types if specified.
9074
+ * @param message StreamVideoControlForceIDR
9075
+ * @param [options] Conversion options
9076
+ * @returns Plain object
9077
+ */
9078
+ public static toObject(message: CloudLark.StreamVideoControlForceIDR, options?: $protobuf.IConversionOptions): { [k: string]: any };
9079
+
9080
+ /**
9081
+ * Converts this StreamVideoControlForceIDR to JSON.
9082
+ * @returns JSON object
9083
+ */
9084
+ public toJSON(): { [k: string]: any };
9085
+ }
9086
+
9087
+ /** Properties of a ClientInput. */
9088
+ interface IClientInput {
9089
+
9090
+ /** ClientInput mouseMove */
9091
+ mouseMove?: (CloudLark.IMouseMove|null);
9092
+
9093
+ /** ClientInput mouseDown */
9094
+ mouseDown?: (CloudLark.IMouseDown|null);
9095
+
9096
+ /** ClientInput mouseUp */
9097
+ mouseUp?: (CloudLark.IMouseUp|null);
9098
+
9099
+ /** ClientInput mouseWheel */
9100
+ mouseWheel?: (CloudLark.IMouseWheel|null);
9101
+
9102
+ /** ClientInput keyDown */
9103
+ keyDown?: (CloudLark.IKeyDown|null);
9104
+
9105
+ /** ClientInput keyUp */
9106
+ keyUp?: (CloudLark.IKeyUp|null);
9107
+
9108
+ /** ClientInput clientEnter */
9109
+ clientEnter?: (CloudLark.IClientEnter|null);
9110
+
9111
+ /** ClientInput clientLeave */
9112
+ clientLeave?: (CloudLark.IClientLeave|null);
9113
+
9114
+ /** ClientInput dispatchController */
9115
+ dispatchController?: (CloudLark.IDispatchController|null);
9116
+
9117
+ /** ClientInput requesController */
9118
+ requesController?: (CloudLark.IRequestController|null);
9119
+
9120
+ /** ClientInput textInput */
9121
+ textInput?: (CloudLark.ITextInput|null);
9122
+
9123
+ /** ClientInput gamepadInputJoystickStates */
9124
+ gamepadInputJoystickStates?: (CloudLark.IGamepadInputJoyStickStates|null);
9125
+
9126
+ /** ClientInput gamepadInputButtonDown */
9127
+ gamepadInputButtonDown?: (CloudLark.IGamepadInputButtonDown|null);
9128
+
9129
+ /** ClientInput gamepadInputButtonUp */
9130
+ gamepadInputButtonUp?: (CloudLark.IGamepadInputButtonUp|null);
9131
+
9132
+ /** ClientInput gamepadInputTriger */
9133
+ gamepadInputTriger?: (CloudLark.IGamepadInputTriger|null);
9134
+
9135
+ /** ClientInput clientDcMsg */
9136
+ clientDcMsg?: (CloudLark.IAppDataChannelMessage|null);
9137
+
9138
+ /** ClientInput touchMove */
9139
+ touchMove?: (CloudLark.ITouchMove|null);
9140
+
9141
+ /** ClientInput touchDown */
9142
+ touchDown?: (CloudLark.ITouchDown|null);
9143
+
9144
+ /** ClientInput touchUp */
9145
+ touchUp?: (CloudLark.ITouchUp|null);
9146
+
9147
+ /** ClientInput aiVoicestreamStart */
9148
+ aiVoicestreamStart?: (CloudLark.IAiVoiceStreamStart|null);
9149
+
9150
+ /** ClientInput aiVoicestreamSlice */
9151
+ aiVoicestreamSlice?: (CloudLark.IAiVoiceStreamSlice|null);
9152
+
9153
+ /** ClientInput aiVoicestreamStop */
9154
+ aiVoicestreamStop?: (CloudLark.IAiVoiceStreamStop|null);
9155
+
9156
+ /** ClientInput aiVoicestreamReset */
9157
+ aiVoicestreamReset?: (CloudLark.IAiVoiceStreamReset|null);
9158
+
9159
+ /** ClientInput aiVoiceText */
9160
+ aiVoiceText?: (CloudLark.IAiVoiceText|null);
9161
+
9162
+ /** ClientInput rtmpStart */
9163
+ rtmpStart?: (CloudLark.IRtmp_Start|null);
9164
+
9165
+ /** ClientInput rtmpStop */
9166
+ rtmpStop?: (CloudLark.IRtmp_Stop|null);
9167
+
9168
+ /** ClientInput videoConfigure */
9169
+ videoConfigure?: (CloudLark.IVideoReconfigure|null);
9170
+
9171
+ /** ClientInput clientStatics */
9172
+ clientStatics?: (CloudLark.IClientStatics|null);
9173
+
9174
+ /** ClientInput showDebuglayout */
9175
+ showDebuglayout?: (CloudLark.IShowDebugLayout|null);
9176
+
9177
+ /** ClientInput appControl */
9178
+ appControl?: (CloudLark.IApplicationControl|null);
9179
+
9180
+ /** ClientInput forceIdr */
9181
+ forceIdr?: (CloudLark.IStreamVideoControlForceIDR|null);
9182
+ }
9183
+
9184
+ /** Represents a ClientInput. */
9185
+ class ClientInput implements IClientInput {
9186
+
9187
+ /**
9188
+ * Constructs a new ClientInput.
9189
+ * @param [properties] Properties to set
9190
+ */
9191
+ constructor(properties?: CloudLark.IClientInput);
9192
+
9193
+ /** ClientInput mouseMove. */
9194
+ public mouseMove?: (CloudLark.IMouseMove|null);
9195
+
9196
+ /** ClientInput mouseDown. */
9197
+ public mouseDown?: (CloudLark.IMouseDown|null);
9198
+
9199
+ /** ClientInput mouseUp. */
9200
+ public mouseUp?: (CloudLark.IMouseUp|null);
9201
+
9202
+ /** ClientInput mouseWheel. */
9203
+ public mouseWheel?: (CloudLark.IMouseWheel|null);
9204
+
9205
+ /** ClientInput keyDown. */
9206
+ public keyDown?: (CloudLark.IKeyDown|null);
9207
+
9208
+ /** ClientInput keyUp. */
9209
+ public keyUp?: (CloudLark.IKeyUp|null);
9210
+
9211
+ /** ClientInput clientEnter. */
9212
+ public clientEnter?: (CloudLark.IClientEnter|null);
9213
+
9214
+ /** ClientInput clientLeave. */
9215
+ public clientLeave?: (CloudLark.IClientLeave|null);
9216
+
9217
+ /** ClientInput dispatchController. */
9218
+ public dispatchController?: (CloudLark.IDispatchController|null);
9219
+
9220
+ /** ClientInput requesController. */
9221
+ public requesController?: (CloudLark.IRequestController|null);
9222
+
9223
+ /** ClientInput textInput. */
9224
+ public textInput?: (CloudLark.ITextInput|null);
9225
+
9226
+ /** ClientInput gamepadInputJoystickStates. */
9227
+ public gamepadInputJoystickStates?: (CloudLark.IGamepadInputJoyStickStates|null);
9228
+
9229
+ /** ClientInput gamepadInputButtonDown. */
9230
+ public gamepadInputButtonDown?: (CloudLark.IGamepadInputButtonDown|null);
9231
+
9232
+ /** ClientInput gamepadInputButtonUp. */
9233
+ public gamepadInputButtonUp?: (CloudLark.IGamepadInputButtonUp|null);
9234
+
9235
+ /** ClientInput gamepadInputTriger. */
9236
+ public gamepadInputTriger?: (CloudLark.IGamepadInputTriger|null);
9237
+
9238
+ /** ClientInput clientDcMsg. */
9239
+ public clientDcMsg?: (CloudLark.IAppDataChannelMessage|null);
9240
+
9241
+ /** ClientInput touchMove. */
9242
+ public touchMove?: (CloudLark.ITouchMove|null);
9243
+
9244
+ /** ClientInput touchDown. */
8170
9245
  public touchDown?: (CloudLark.ITouchDown|null);
8171
9246
 
8172
9247
  /** ClientInput touchUp. */
@@ -8199,8 +9274,17 @@ export namespace CloudLark {
8199
9274
  /** ClientInput clientStatics. */
8200
9275
  public clientStatics?: (CloudLark.IClientStatics|null);
8201
9276
 
9277
+ /** ClientInput showDebuglayout. */
9278
+ public showDebuglayout?: (CloudLark.IShowDebugLayout|null);
9279
+
9280
+ /** ClientInput appControl. */
9281
+ public appControl?: (CloudLark.IApplicationControl|null);
9282
+
9283
+ /** ClientInput forceIdr. */
9284
+ public forceIdr?: (CloudLark.IStreamVideoControlForceIDR|null);
9285
+
8202
9286
  /** ClientInput input. */
8203
- 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");
9287
+ 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"|"forceIdr");
8204
9288
 
8205
9289
  /**
8206
9290
  * Creates a new ClientInput instance using the specified properties.
@@ -8443,6 +9527,12 @@ export namespace CloudLark {
8443
9527
 
8444
9528
  /** AppNotification serverStatics */
8445
9529
  serverStatics?: (CloudLark.IServerStatics|null);
9530
+
9531
+ /** AppNotification appControlResult */
9532
+ appControlResult?: (CloudLark.IApplicationControlResult|null);
9533
+
9534
+ /** AppNotification videoFrame */
9535
+ videoFrame?: (CloudLark.IStreamVideoFrame|null);
8446
9536
  }
8447
9537
 
8448
9538
  /** Represents an AppNotification. */
@@ -8502,8 +9592,14 @@ export namespace CloudLark {
8502
9592
  /** AppNotification serverStatics. */
8503
9593
  public serverStatics?: (CloudLark.IServerStatics|null);
8504
9594
 
9595
+ /** AppNotification appControlResult. */
9596
+ public appControlResult?: (CloudLark.IApplicationControlResult|null);
9597
+
9598
+ /** AppNotification videoFrame. */
9599
+ public videoFrame?: (CloudLark.IStreamVideoFrame|null);
9600
+
8505
9601
  /** AppNotification notify. */
8506
- public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr"|"rtmpState"|"rtmpError"|"notifyFeatures"|"serverStatics");
9602
+ public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr"|"rtmpState"|"rtmpError"|"notifyFeatures"|"serverStatics"|"appControlResult"|"videoFrame");
8507
9603
 
8508
9604
  /**
8509
9605
  * Creates a new AppNotification instance using the specified properties.