@rbxts/types 1.0.759 → 1.0.760
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.
|
@@ -171,6 +171,7 @@ interface Services {
|
|
|
171
171
|
VideoCaptureService: VideoCaptureService;
|
|
172
172
|
VideoService: VideoService;
|
|
173
173
|
VisibilityCheckDispatcher: VisibilityCheckDispatcher;
|
|
174
|
+
VisualizationModeService: VisualizationModeService;
|
|
174
175
|
VoiceChatInternal: VoiceChatInternal;
|
|
175
176
|
VoiceChatService: VoiceChatService;
|
|
176
177
|
VRService: VRService;
|
|
@@ -429,19 +430,17 @@ interface CreatableInstances {
|
|
|
429
430
|
UnionOperation: UnionOperation;
|
|
430
431
|
UniversalConstraint: UniversalConstraint;
|
|
431
432
|
UnreliableRemoteEvent: UnreliableRemoteEvent;
|
|
432
|
-
UserNotification: UserNotification;
|
|
433
|
-
UserNotificationPayload: UserNotificationPayload;
|
|
434
|
-
UserNotificationPayloadAnalyticsData: UserNotificationPayloadAnalyticsData;
|
|
435
|
-
UserNotificationPayloadJoinExperience: UserNotificationPayloadJoinExperience;
|
|
436
|
-
UserNotificationPayloadParameterValue: UserNotificationPayloadParameterValue;
|
|
437
433
|
Vector3Curve: Vector3Curve;
|
|
438
434
|
Vector3Value: Vector3Value;
|
|
439
435
|
VectorForce: VectorForce;
|
|
440
436
|
VehicleController: VehicleController;
|
|
441
437
|
VehicleSeat: VehicleSeat;
|
|
442
438
|
VelocityMotor: VelocityMotor;
|
|
439
|
+
VideoDeviceInput: VideoDeviceInput;
|
|
443
440
|
VideoFrame: VideoFrame;
|
|
444
441
|
ViewportFrame: ViewportFrame;
|
|
442
|
+
VisualizationMode: VisualizationMode;
|
|
443
|
+
VisualizationModeCategory: VisualizationModeCategory;
|
|
445
444
|
WedgePart: WedgePart;
|
|
446
445
|
Weld: Weld;
|
|
447
446
|
WeldConstraint: WeldConstraint;
|
|
@@ -2970,6 +2969,8 @@ interface AudioPlayer extends Instance {
|
|
|
2970
2969
|
TimePosition: number;
|
|
2971
2970
|
Play(this: AudioPlayer): void;
|
|
2972
2971
|
Stop(this: AudioPlayer): void;
|
|
2972
|
+
readonly Ended: RBXScriptSignal<() => void>;
|
|
2973
|
+
readonly Looped: RBXScriptSignal<() => void>;
|
|
2973
2974
|
}
|
|
2974
2975
|
|
|
2975
2976
|
interface AudioReverb extends Instance {
|
|
@@ -7252,8 +7253,20 @@ interface DragDetector extends ClickDetector {
|
|
|
7252
7253
|
SetDragStyleFunction(this: DragDetector, callback: Callback): void;
|
|
7253
7254
|
SetPermissionPolicyFunction(this: DragDetector, callback: Callback): void;
|
|
7254
7255
|
readonly DragContinue: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7256
|
+
/**
|
|
7257
|
+
* Tags: Hidden
|
|
7258
|
+
*/
|
|
7259
|
+
readonly DragContinueReplicate: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7255
7260
|
readonly DragEnd: RBXScriptSignal<(playerWhoDragged: Player) => void>;
|
|
7261
|
+
/**
|
|
7262
|
+
* Tags: Hidden
|
|
7263
|
+
*/
|
|
7264
|
+
readonly DragEndReplicate: RBXScriptSignal<(playerWhoDragged: Player) => void>;
|
|
7256
7265
|
readonly DragStart: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7266
|
+
/**
|
|
7267
|
+
* Tags: Hidden
|
|
7268
|
+
*/
|
|
7269
|
+
readonly DragStartReplicate: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7257
7270
|
}
|
|
7258
7271
|
|
|
7259
7272
|
/** The **Clouds** object renders realistic clouds that drift slowly across the sky. Both cloud cover and density can be adjusted, as well as cloud color to achieve atmospheres like stormy skies, moody sunsets, alien worlds, etc.
|
|
@@ -7308,8 +7321,13 @@ interface Collaborator extends Instance {
|
|
|
7308
7321
|
CFrame: CFrame;
|
|
7309
7322
|
/**
|
|
7310
7323
|
* Tags: Hidden
|
|
7324
|
+
* @deprecated Use `CollaboratorColor3` instead
|
|
7311
7325
|
*/
|
|
7312
7326
|
CollaboratorColor: number;
|
|
7327
|
+
/**
|
|
7328
|
+
* Tags: Hidden
|
|
7329
|
+
*/
|
|
7330
|
+
CollaboratorColor3: Color3;
|
|
7313
7331
|
/**
|
|
7314
7332
|
* Tags: Hidden
|
|
7315
7333
|
*/
|
|
@@ -10610,6 +10628,7 @@ interface EditableImage extends Instance {
|
|
|
10610
10628
|
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
10611
10629
|
DrawImage(this: EditableImage, position: Vector2, image: EditableImage, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10612
10630
|
DrawLine(this: EditableImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number): void;
|
|
10631
|
+
DrawProjectionImage(this: EditableImage, mesh: EditableMesh, projection: object, brushConfig: object): void;
|
|
10613
10632
|
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
|
|
10614
10633
|
/**
|
|
10615
10634
|
* Tags: CustomLuaState
|
|
@@ -10732,10 +10751,6 @@ interface ExperienceNotificationService extends Instance {
|
|
|
10732
10751
|
* Tags: Yields
|
|
10733
10752
|
*/
|
|
10734
10753
|
CanPromptOptInAsync(this: ExperienceNotificationService): boolean;
|
|
10735
|
-
/**
|
|
10736
|
-
* Tags: Yields
|
|
10737
|
-
*/
|
|
10738
|
-
CreateUserNotificationAsync(this: ExperienceNotificationService, userId: string, userNotification: UserNotification): Instance | undefined;
|
|
10739
10754
|
readonly OptInPromptClosed: RBXScriptSignal<() => void>;
|
|
10740
10755
|
}
|
|
10741
10756
|
|
|
@@ -22171,18 +22186,6 @@ interface LuaSourceContainer extends Instance {
|
|
|
22171
22186
|
* @deprecated
|
|
22172
22187
|
*/
|
|
22173
22188
|
readonly _nominal_LuaSourceContainer: unique symbol;
|
|
22174
|
-
/**
|
|
22175
|
-
* Tags: Hidden
|
|
22176
|
-
*/
|
|
22177
|
-
readonly LockGrantedOrNot: RBXScriptSignal<(granted: boolean) => void>;
|
|
22178
|
-
/**
|
|
22179
|
-
* Tags: Hidden
|
|
22180
|
-
*/
|
|
22181
|
-
readonly LostLock: RBXScriptSignal<() => void>;
|
|
22182
|
-
/**
|
|
22183
|
-
* Tags: Hidden
|
|
22184
|
-
*/
|
|
22185
|
-
readonly RequestLock: RBXScriptSignal<() => void>;
|
|
22186
22189
|
}
|
|
22187
22190
|
|
|
22188
22191
|
/** The base class for all script objects which run automatically. */
|
|
@@ -25242,6 +25245,9 @@ interface Terrain extends BasePart {
|
|
|
25242
25245
|
* Applies a chunk of terrain to the Terrain object. Note: [TerrainRegion](https://developer.roblox.com/en-us/api-reference/class/TerrainRegion) data does not replicate between server and client.
|
|
25243
25246
|
*/
|
|
25244
25247
|
PasteRegion(this: Terrain, region: TerrainRegion, corner: Vector3int16, pasteEmptyCells: boolean): void;
|
|
25248
|
+
/**
|
|
25249
|
+
* Tags: CustomLuaState
|
|
25250
|
+
*/
|
|
25245
25251
|
ReadVoxelChannels(this: Terrain, region: Region3, resolution: number, channelIds: Array<any>): object;
|
|
25246
25252
|
/**
|
|
25247
25253
|
* Returns a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain) in [table format](https://developer.roblox.com/articles/Scripting-With-Terrain#reading-and-writing-voxels). Both of the returned arrays have an additional `Size` property, a [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3).
|
|
@@ -25299,6 +25305,9 @@ interface Terrain extends BasePart {
|
|
|
25299
25305
|
* Returns the grid cell location that contains the point position, preferring non-empty grid cells when position is on a grid edge.
|
|
25300
25306
|
*/
|
|
25301
25307
|
WorldToCellPreferSolid(this: Terrain, position: Vector3): Vector3;
|
|
25308
|
+
/**
|
|
25309
|
+
* Tags: CustomLuaState
|
|
25310
|
+
*/
|
|
25302
25311
|
WriteVoxelChannels(this: Terrain, region: Region3, resolution: number, channels: object): void;
|
|
25303
25312
|
/**
|
|
25304
25313
|
* Sets a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain "Smooth terrain") using the [table format](https://developer.roblox.com/articles/Intro-To-Terrain#Reading_and_writing_voxels "Smooth terrain")
|
|
@@ -37711,76 +37720,6 @@ interface UserInputService extends Instance {
|
|
|
37711
37720
|
readonly WindowFocused: RBXScriptSignal<() => void>;
|
|
37712
37721
|
}
|
|
37713
37722
|
|
|
37714
|
-
interface UserNotification extends Instance {
|
|
37715
|
-
/**
|
|
37716
|
-
* **DO NOT USE!**
|
|
37717
|
-
*
|
|
37718
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37719
|
-
* @hidden
|
|
37720
|
-
* @deprecated
|
|
37721
|
-
*/
|
|
37722
|
-
readonly _nominal_UserNotification: unique symbol;
|
|
37723
|
-
/**
|
|
37724
|
-
* Tags: NotReplicated
|
|
37725
|
-
*/
|
|
37726
|
-
readonly Id: string;
|
|
37727
|
-
Payload: UserNotificationPayload | undefined;
|
|
37728
|
-
}
|
|
37729
|
-
|
|
37730
|
-
interface UserNotificationPayload extends Instance {
|
|
37731
|
-
/**
|
|
37732
|
-
* **DO NOT USE!**
|
|
37733
|
-
*
|
|
37734
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37735
|
-
* @hidden
|
|
37736
|
-
* @deprecated
|
|
37737
|
-
*/
|
|
37738
|
-
readonly _nominal_UserNotificationPayload: unique symbol;
|
|
37739
|
-
AnalyticsData: UserNotificationPayloadAnalyticsData | undefined;
|
|
37740
|
-
JoinExperience: UserNotificationPayloadJoinExperience | undefined;
|
|
37741
|
-
MessageId: string;
|
|
37742
|
-
Type: string;
|
|
37743
|
-
GetParameters(this: UserNotificationPayload): unknown;
|
|
37744
|
-
SetParameters(this: UserNotificationPayload, parameters: unknown): void;
|
|
37745
|
-
}
|
|
37746
|
-
|
|
37747
|
-
interface UserNotificationPayloadAnalyticsData extends Instance {
|
|
37748
|
-
/**
|
|
37749
|
-
* **DO NOT USE!**
|
|
37750
|
-
*
|
|
37751
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37752
|
-
* @hidden
|
|
37753
|
-
* @deprecated
|
|
37754
|
-
*/
|
|
37755
|
-
readonly _nominal_UserNotificationPayloadAnalyticsData: unique symbol;
|
|
37756
|
-
Category: string;
|
|
37757
|
-
}
|
|
37758
|
-
|
|
37759
|
-
interface UserNotificationPayloadJoinExperience extends Instance {
|
|
37760
|
-
/**
|
|
37761
|
-
* **DO NOT USE!**
|
|
37762
|
-
*
|
|
37763
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37764
|
-
* @hidden
|
|
37765
|
-
* @deprecated
|
|
37766
|
-
*/
|
|
37767
|
-
readonly _nominal_UserNotificationPayloadJoinExperience: unique symbol;
|
|
37768
|
-
LaunchData: string;
|
|
37769
|
-
}
|
|
37770
|
-
|
|
37771
|
-
interface UserNotificationPayloadParameterValue extends Instance {
|
|
37772
|
-
/**
|
|
37773
|
-
* **DO NOT USE!**
|
|
37774
|
-
*
|
|
37775
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37776
|
-
* @hidden
|
|
37777
|
-
* @deprecated
|
|
37778
|
-
*/
|
|
37779
|
-
readonly _nominal_UserNotificationPayloadParameterValue: unique symbol;
|
|
37780
|
-
Int64Value: number;
|
|
37781
|
-
StringValue: string;
|
|
37782
|
-
}
|
|
37783
|
-
|
|
37784
37723
|
/** A service that handles queries regarding users on the Roblox platform. */
|
|
37785
37724
|
interface UserService extends Instance {
|
|
37786
37725
|
/**
|
|
@@ -38423,6 +38362,24 @@ interface VideoCaptureService extends Instance {
|
|
|
38423
38362
|
readonly _nominal_VideoCaptureService: unique symbol;
|
|
38424
38363
|
}
|
|
38425
38364
|
|
|
38365
|
+
interface VideoDeviceInput extends Instance {
|
|
38366
|
+
/**
|
|
38367
|
+
* **DO NOT USE!**
|
|
38368
|
+
*
|
|
38369
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38370
|
+
* @hidden
|
|
38371
|
+
* @deprecated
|
|
38372
|
+
*/
|
|
38373
|
+
readonly _nominal_VideoDeviceInput: unique symbol;
|
|
38374
|
+
Active: boolean;
|
|
38375
|
+
CameraId: string;
|
|
38376
|
+
CaptureQuality: Enum.VideoDeviceCaptureQuality;
|
|
38377
|
+
/**
|
|
38378
|
+
* Tags: NotReplicated
|
|
38379
|
+
*/
|
|
38380
|
+
readonly IsReady: boolean;
|
|
38381
|
+
}
|
|
38382
|
+
|
|
38426
38383
|
interface VideoService extends Instance {
|
|
38427
38384
|
/**
|
|
38428
38385
|
* **DO NOT USE!**
|
|
@@ -38445,6 +38402,39 @@ interface VisibilityCheckDispatcher extends Instance {
|
|
|
38445
38402
|
readonly _nominal_VisibilityCheckDispatcher: unique symbol;
|
|
38446
38403
|
}
|
|
38447
38404
|
|
|
38405
|
+
interface VisualizationMode extends Instance {
|
|
38406
|
+
/**
|
|
38407
|
+
* **DO NOT USE!**
|
|
38408
|
+
*
|
|
38409
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38410
|
+
* @hidden
|
|
38411
|
+
* @deprecated
|
|
38412
|
+
*/
|
|
38413
|
+
readonly _nominal_VisualizationMode: unique symbol;
|
|
38414
|
+
}
|
|
38415
|
+
|
|
38416
|
+
interface VisualizationModeCategory extends Instance {
|
|
38417
|
+
/**
|
|
38418
|
+
* **DO NOT USE!**
|
|
38419
|
+
*
|
|
38420
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38421
|
+
* @hidden
|
|
38422
|
+
* @deprecated
|
|
38423
|
+
*/
|
|
38424
|
+
readonly _nominal_VisualizationModeCategory: unique symbol;
|
|
38425
|
+
}
|
|
38426
|
+
|
|
38427
|
+
interface VisualizationModeService extends Instance {
|
|
38428
|
+
/**
|
|
38429
|
+
* **DO NOT USE!**
|
|
38430
|
+
*
|
|
38431
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38432
|
+
* @hidden
|
|
38433
|
+
* @deprecated
|
|
38434
|
+
*/
|
|
38435
|
+
readonly _nominal_VisualizationModeService: unique symbol;
|
|
38436
|
+
}
|
|
38437
|
+
|
|
38448
38438
|
interface VoiceChatInternal extends Instance {
|
|
38449
38439
|
/**
|
|
38450
38440
|
* **DO NOT USE!**
|
|
@@ -1790,6 +1790,7 @@ interface WorldRoot extends Model {
|
|
|
1790
1790
|
* * If translate stiffness and rotate stiffness are both equal to 0, then the target CFrame will be ignored and physical constraints will be solved for the object at the position where it was.
|
|
1791
1791
|
*/
|
|
1792
1792
|
IKMoveTo(this: WorldRoot, part: BasePart, target: CFrame, translateStiffness?: number, rotateStiffness?: number, collisionsMode?: CastsToEnum<Enum.IKCollisionsMode>): void;
|
|
1793
|
+
StepPhysics(this: WorldRoot, dt: number, parts?: Array<Instance>): void;
|
|
1793
1794
|
}
|
|
1794
1795
|
|
|
1795
1796
|
interface Workspace extends WorldRoot {
|
|
@@ -3032,6 +3033,7 @@ interface RenderingTest extends Instance {
|
|
|
3032
3033
|
*/
|
|
3033
3034
|
Position: Vector3;
|
|
3034
3035
|
QualityLevel: number;
|
|
3036
|
+
RenderingTestFrameCount: number;
|
|
3035
3037
|
ShouldSkip: boolean;
|
|
3036
3038
|
Ticket: string;
|
|
3037
3039
|
Timeout: number;
|
|
@@ -8828,6 +8828,35 @@ declare namespace Enum {
|
|
|
8828
8828
|
}
|
|
8829
8829
|
export type IXPLoadingStatus = IXPLoadingStatus.None | IXPLoadingStatus.Pending | IXPLoadingStatus.Initialized | IXPLoadingStatus.ErrorInvalidUser | IXPLoadingStatus.ErrorConnection | IXPLoadingStatus.ErrorJsonParse | IXPLoadingStatus.ErrorTimedOut;
|
|
8830
8830
|
|
|
8831
|
+
export namespace ImageAlphaType {
|
|
8832
|
+
export interface Default extends globalThis.EnumItem {
|
|
8833
|
+
Name: "Default";
|
|
8834
|
+
Value: 1;
|
|
8835
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
export const Default: Default;
|
|
8839
|
+
|
|
8840
|
+
export interface LockCanvasAlpha extends globalThis.EnumItem {
|
|
8841
|
+
Name: "LockCanvasAlpha";
|
|
8842
|
+
Value: 2;
|
|
8843
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8844
|
+
}
|
|
8845
|
+
|
|
8846
|
+
export const LockCanvasAlpha: LockCanvasAlpha;
|
|
8847
|
+
|
|
8848
|
+
export interface LockCanvasColor extends globalThis.EnumItem {
|
|
8849
|
+
Name: "LockCanvasColor";
|
|
8850
|
+
Value: 3;
|
|
8851
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8852
|
+
}
|
|
8853
|
+
|
|
8854
|
+
export const LockCanvasColor: LockCanvasColor;
|
|
8855
|
+
|
|
8856
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ImageAlphaType>;
|
|
8857
|
+
}
|
|
8858
|
+
export type ImageAlphaType = ImageAlphaType.Default | ImageAlphaType.LockCanvasAlpha | ImageAlphaType.LockCanvasColor;
|
|
8859
|
+
|
|
8831
8860
|
export namespace ImageCombineType {
|
|
8832
8861
|
export interface BlendSourceOver extends globalThis.EnumItem {
|
|
8833
8862
|
Name: "BlendSourceOver";
|
|
@@ -8845,9 +8874,33 @@ declare namespace Enum {
|
|
|
8845
8874
|
|
|
8846
8875
|
export const Overwrite: Overwrite;
|
|
8847
8876
|
|
|
8877
|
+
export interface Add extends globalThis.EnumItem {
|
|
8878
|
+
Name: "Add";
|
|
8879
|
+
Value: 3;
|
|
8880
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8881
|
+
}
|
|
8882
|
+
|
|
8883
|
+
export const Add: Add;
|
|
8884
|
+
|
|
8885
|
+
export interface Multiply extends globalThis.EnumItem {
|
|
8886
|
+
Name: "Multiply";
|
|
8887
|
+
Value: 4;
|
|
8888
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8889
|
+
}
|
|
8890
|
+
|
|
8891
|
+
export const Multiply: Multiply;
|
|
8892
|
+
|
|
8893
|
+
export interface AlphaBlend extends globalThis.EnumItem {
|
|
8894
|
+
Name: "AlphaBlend";
|
|
8895
|
+
Value: 5;
|
|
8896
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8897
|
+
}
|
|
8898
|
+
|
|
8899
|
+
export const AlphaBlend: AlphaBlend;
|
|
8900
|
+
|
|
8848
8901
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ImageCombineType>;
|
|
8849
8902
|
}
|
|
8850
|
-
export type ImageCombineType = ImageCombineType.BlendSourceOver | ImageCombineType.Overwrite;
|
|
8903
|
+
export type ImageCombineType = ImageCombineType.BlendSourceOver | ImageCombineType.Overwrite | ImageCombineType.Add | ImageCombineType.Multiply | ImageCombineType.AlphaBlend;
|
|
8851
8904
|
|
|
8852
8905
|
export namespace InOut {
|
|
8853
8906
|
export interface Edge extends globalThis.EnumItem {
|
|
@@ -20648,6 +20701,200 @@ declare namespace Enum {
|
|
|
20648
20701
|
}
|
|
20649
20702
|
export type VibrationMotor = VibrationMotor.Large | VibrationMotor.Small | VibrationMotor.LeftTrigger | VibrationMotor.RightTrigger | VibrationMotor.LeftHand | VibrationMotor.RightHand;
|
|
20650
20703
|
|
|
20704
|
+
export namespace VideoDeviceCaptureQuality {
|
|
20705
|
+
export interface Default extends globalThis.EnumItem {
|
|
20706
|
+
Name: "Default";
|
|
20707
|
+
Value: 0;
|
|
20708
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20709
|
+
}
|
|
20710
|
+
|
|
20711
|
+
export const Default: Default;
|
|
20712
|
+
|
|
20713
|
+
export interface Low extends globalThis.EnumItem {
|
|
20714
|
+
Name: "Low";
|
|
20715
|
+
Value: 1;
|
|
20716
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20717
|
+
}
|
|
20718
|
+
|
|
20719
|
+
export const Low: Low;
|
|
20720
|
+
|
|
20721
|
+
export interface Medium extends globalThis.EnumItem {
|
|
20722
|
+
Name: "Medium";
|
|
20723
|
+
Value: 2;
|
|
20724
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20725
|
+
}
|
|
20726
|
+
|
|
20727
|
+
export const Medium: Medium;
|
|
20728
|
+
|
|
20729
|
+
export interface High extends globalThis.EnumItem {
|
|
20730
|
+
Name: "High";
|
|
20731
|
+
Value: 3;
|
|
20732
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20733
|
+
}
|
|
20734
|
+
|
|
20735
|
+
export const High: High;
|
|
20736
|
+
|
|
20737
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoDeviceCaptureQuality>;
|
|
20738
|
+
}
|
|
20739
|
+
export type VideoDeviceCaptureQuality = VideoDeviceCaptureQuality.Default | VideoDeviceCaptureQuality.Low | VideoDeviceCaptureQuality.Medium | VideoDeviceCaptureQuality.High;
|
|
20740
|
+
|
|
20741
|
+
export namespace VideoError {
|
|
20742
|
+
export interface Ok extends globalThis.EnumItem {
|
|
20743
|
+
Name: "Ok";
|
|
20744
|
+
Value: 0;
|
|
20745
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20746
|
+
}
|
|
20747
|
+
|
|
20748
|
+
export const Ok: Ok;
|
|
20749
|
+
|
|
20750
|
+
export interface Eof extends globalThis.EnumItem {
|
|
20751
|
+
Name: "Eof";
|
|
20752
|
+
Value: 1;
|
|
20753
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20754
|
+
}
|
|
20755
|
+
|
|
20756
|
+
export const Eof: Eof;
|
|
20757
|
+
|
|
20758
|
+
export interface EAgain extends globalThis.EnumItem {
|
|
20759
|
+
Name: "EAgain";
|
|
20760
|
+
Value: 2;
|
|
20761
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20762
|
+
}
|
|
20763
|
+
|
|
20764
|
+
export const EAgain: EAgain;
|
|
20765
|
+
|
|
20766
|
+
export interface BadParameter extends globalThis.EnumItem {
|
|
20767
|
+
Name: "BadParameter";
|
|
20768
|
+
Value: 3;
|
|
20769
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20770
|
+
}
|
|
20771
|
+
|
|
20772
|
+
export const BadParameter: BadParameter;
|
|
20773
|
+
|
|
20774
|
+
export interface AllocFailed extends globalThis.EnumItem {
|
|
20775
|
+
Name: "AllocFailed";
|
|
20776
|
+
Value: 4;
|
|
20777
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20778
|
+
}
|
|
20779
|
+
|
|
20780
|
+
export const AllocFailed: AllocFailed;
|
|
20781
|
+
|
|
20782
|
+
export interface CodecInitFailed extends globalThis.EnumItem {
|
|
20783
|
+
Name: "CodecInitFailed";
|
|
20784
|
+
Value: 5;
|
|
20785
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20786
|
+
}
|
|
20787
|
+
|
|
20788
|
+
export const CodecInitFailed: CodecInitFailed;
|
|
20789
|
+
|
|
20790
|
+
export interface CodecCloseFailed extends globalThis.EnumItem {
|
|
20791
|
+
Name: "CodecCloseFailed";
|
|
20792
|
+
Value: 6;
|
|
20793
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20794
|
+
}
|
|
20795
|
+
|
|
20796
|
+
export const CodecCloseFailed: CodecCloseFailed;
|
|
20797
|
+
|
|
20798
|
+
export interface DecodeFailed extends globalThis.EnumItem {
|
|
20799
|
+
Name: "DecodeFailed";
|
|
20800
|
+
Value: 7;
|
|
20801
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20802
|
+
}
|
|
20803
|
+
|
|
20804
|
+
export const DecodeFailed: DecodeFailed;
|
|
20805
|
+
|
|
20806
|
+
export interface ParsingFailed extends globalThis.EnumItem {
|
|
20807
|
+
Name: "ParsingFailed";
|
|
20808
|
+
Value: 8;
|
|
20809
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20810
|
+
}
|
|
20811
|
+
|
|
20812
|
+
export const ParsingFailed: ParsingFailed;
|
|
20813
|
+
|
|
20814
|
+
export interface Unsupported extends globalThis.EnumItem {
|
|
20815
|
+
Name: "Unsupported";
|
|
20816
|
+
Value: 9;
|
|
20817
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20818
|
+
}
|
|
20819
|
+
|
|
20820
|
+
export const Unsupported: Unsupported;
|
|
20821
|
+
|
|
20822
|
+
export interface Generic extends globalThis.EnumItem {
|
|
20823
|
+
Name: "Generic";
|
|
20824
|
+
Value: 10;
|
|
20825
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20826
|
+
}
|
|
20827
|
+
|
|
20828
|
+
export const Generic: Generic;
|
|
20829
|
+
|
|
20830
|
+
export interface DownloadFailed extends globalThis.EnumItem {
|
|
20831
|
+
Name: "DownloadFailed";
|
|
20832
|
+
Value: 11;
|
|
20833
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20834
|
+
}
|
|
20835
|
+
|
|
20836
|
+
export const DownloadFailed: DownloadFailed;
|
|
20837
|
+
|
|
20838
|
+
export interface StreamNotFound extends globalThis.EnumItem {
|
|
20839
|
+
Name: "StreamNotFound";
|
|
20840
|
+
Value: 12;
|
|
20841
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20842
|
+
}
|
|
20843
|
+
|
|
20844
|
+
export const StreamNotFound: StreamNotFound;
|
|
20845
|
+
|
|
20846
|
+
export interface EncodeFailed extends globalThis.EnumItem {
|
|
20847
|
+
Name: "EncodeFailed";
|
|
20848
|
+
Value: 13;
|
|
20849
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20850
|
+
}
|
|
20851
|
+
|
|
20852
|
+
export const EncodeFailed: EncodeFailed;
|
|
20853
|
+
|
|
20854
|
+
export interface CreateFailed extends globalThis.EnumItem {
|
|
20855
|
+
Name: "CreateFailed";
|
|
20856
|
+
Value: 14;
|
|
20857
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20858
|
+
}
|
|
20859
|
+
|
|
20860
|
+
export const CreateFailed: CreateFailed;
|
|
20861
|
+
|
|
20862
|
+
export interface NoPermission extends globalThis.EnumItem {
|
|
20863
|
+
Name: "NoPermission";
|
|
20864
|
+
Value: 15;
|
|
20865
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20866
|
+
}
|
|
20867
|
+
|
|
20868
|
+
export const NoPermission: NoPermission;
|
|
20869
|
+
|
|
20870
|
+
export interface NoService extends globalThis.EnumItem {
|
|
20871
|
+
Name: "NoService";
|
|
20872
|
+
Value: 16;
|
|
20873
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20874
|
+
}
|
|
20875
|
+
|
|
20876
|
+
export const NoService: NoService;
|
|
20877
|
+
|
|
20878
|
+
export interface ReleaseFailed extends globalThis.EnumItem {
|
|
20879
|
+
Name: "ReleaseFailed";
|
|
20880
|
+
Value: 17;
|
|
20881
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20882
|
+
}
|
|
20883
|
+
|
|
20884
|
+
export const ReleaseFailed: ReleaseFailed;
|
|
20885
|
+
|
|
20886
|
+
export interface Unknown extends globalThis.EnumItem {
|
|
20887
|
+
Name: "Unknown";
|
|
20888
|
+
Value: 18;
|
|
20889
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20890
|
+
}
|
|
20891
|
+
|
|
20892
|
+
export const Unknown: Unknown;
|
|
20893
|
+
|
|
20894
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoError>;
|
|
20895
|
+
}
|
|
20896
|
+
export type VideoError = VideoError.Ok | VideoError.Eof | VideoError.EAgain | VideoError.BadParameter | VideoError.AllocFailed | VideoError.CodecInitFailed | VideoError.CodecCloseFailed | VideoError.DecodeFailed | VideoError.ParsingFailed | VideoError.Unsupported | VideoError.Generic | VideoError.DownloadFailed | VideoError.StreamNotFound | VideoError.EncodeFailed | VideoError.CreateFailed | VideoError.NoPermission | VideoError.NoService | VideoError.ReleaseFailed | VideoError.Unknown;
|
|
20897
|
+
|
|
20651
20898
|
export namespace ViewMode {
|
|
20652
20899
|
export interface None extends globalThis.EnumItem {
|
|
20653
20900
|
Name: "None";
|