@nnepoch/dtc-sdk 3.0.0
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/README.md +298 -0
- package/dist/browser/dtc-sdk-3.0.0.js +2 -0
- package/dist/cjs/index.cjs +38 -0
- package/dist/cjs/index.d.cts +5600 -0
- package/dist/esm/index.d.ts +5600 -0
- package/dist/esm/index.js +38 -0
- package/docs/api/api/classes/Animation.md +280 -0
- package/docs/api/api/classes/ApiRegistryError.md +60 -0
- package/docs/api/api/classes/Camera.md +601 -0
- package/docs/api/api/classes/Connect.md +257 -0
- package/docs/api/api/classes/Dlss.md +67 -0
- package/docs/api/api/classes/HighLighterEffect.md +173 -0
- package/docs/api/api/classes/Layer.md +444 -0
- package/docs/api/api/classes/Model.md +193 -0
- package/docs/api/api/classes/ModelPOI.md +279 -0
- package/docs/api/api/classes/ModelTransform.md +579 -0
- package/docs/api/api/classes/PathPatrol.md +337 -0
- package/docs/api/api/classes/Popup.md +323 -0
- package/docs/api/api/classes/Scene.md +272 -0
- package/docs/api/api/classes/Screen.md +157 -0
- package/docs/api/api/classes/TimeLine.md +274 -0
- package/docs/api/api/classes/UIPOI.md +318 -0
- package/docs/api/api/classes/WeatherSystem.md +581 -0
- package/docs/api/api/functions/createApiFacade.md +20 -0
- package/docs/api/api/index.md +45 -0
- package/docs/api/api/interfaces/ApiInstanceMap.md +107 -0
- package/docs/api/api/interfaces/ApiRegistryContext.md +47 -0
- package/docs/api/api/type-aliases/ApiFacade.md +7 -0
- package/docs/api/api/type-aliases/ApiModuleFactory.md +23 -0
- package/docs/api/api/type-aliases/ApiModuleKey.md +5 -0
- package/docs/api/api/type-aliases/ApiRegistry.md +7 -0
- package/docs/api/api/variables/API_MODULE_KEYS.md +5 -0
- package/docs/api/api/variables/PendingValidationSchemaMap.md +9 -0
- package/docs/api/api/variables/apiRegistry.md +7 -0
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +738 -0
- package/docs/api/application/DTCEngine/index.md +11 -0
- package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +22 -0
- package/docs/api/index.md +7 -0
- package/docs/api/typedoc-sidebar.json +735 -0
- package/docs/api/types/enumerations/LayerEnum.md +21 -0
- package/docs/api/types/enumerations/ModelTransformType.md +251 -0
- package/docs/api/types/enumerations/VideoCodeType.md +37 -0
- package/docs/api/types/index.md +146 -0
- package/docs/api/types/interfaces/AnimationGetLengthRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationPlayRequest.md +61 -0
- package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationStartLoopRequest.md +53 -0
- package/docs/api/types/interfaces/AnimationStopLoopRequest.md +21 -0
- package/docs/api/types/interfaces/AnimationStopRequest.md +21 -0
- package/docs/api/types/interfaces/ApiRequestEnvelope.md +45 -0
- package/docs/api/types/interfaces/ApiResponseEnvelope.md +57 -0
- package/docs/api/types/interfaces/AuthErrorInfo.md +21 -0
- package/docs/api/types/interfaces/AuthSessionSnapshot.md +45 -0
- package/docs/api/types/interfaces/CameraFlyByPathRequest.md +37 -0
- package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +29 -0
- package/docs/api/types/interfaces/CameraLookAtRequest.md +69 -0
- package/docs/api/types/interfaces/CameraObjFollowRequest.md +37 -0
- package/docs/api/types/interfaces/CameraSetFlySpeedRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetFovRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetPositionAndRotationRequest.md +21 -0
- package/docs/api/types/interfaces/CenterConnectResult.md +27 -0
- package/docs/api/types/interfaces/CenterEnvelope.md +33 -0
- package/docs/api/types/interfaces/CenterServiceInfo.md +33 -0
- package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +9 -0
- package/docs/api/types/interfaces/DlssSetEnableRequest.md +23 -0
- package/docs/api/types/interfaces/DlssSetQualityRequest.md +14 -0
- package/docs/api/types/interfaces/EngineConfig.md +127 -0
- package/docs/api/types/interfaces/EngineStatusInfo.md +59 -0
- package/docs/api/types/interfaces/FeatureToggleRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterEnableRequest.md +11 -0
- package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +29 -0
- package/docs/api/types/interfaces/LayerAddRequest.md +61 -0
- package/docs/api/types/interfaces/LayerChildElementRequest.md +21 -0
- package/docs/api/types/interfaces/LayerModelAddRequest.md +75 -0
- package/docs/api/types/interfaces/LayerModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/LayerPOIAddRequest.md +117 -0
- package/docs/api/types/interfaces/LayerSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/LayerShowUIPopRequest.md +51 -0
- package/docs/api/types/interfaces/LayerSwitchModelRequest.md +29 -0
- package/docs/api/types/interfaces/ModelAddRequest.md +61 -0
- package/docs/api/types/interfaces/ModelBoundsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIAddRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIGetInfoRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIVisibleByGroupRequest.md +21 -0
- package/docs/api/types/interfaces/ModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformNodeRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +85 -0
- package/docs/api/types/interfaces/ModelTransformRotateRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformScaleRequest.md +37 -0
- package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +61 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionResult.md +47 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +29 -0
- package/docs/api/types/interfaces/NetworkAdaptationState.md +41 -0
- package/docs/api/types/interfaces/NetworkDecisionTrace.md +53 -0
- package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +53 -0
- package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +59 -0
- package/docs/api/types/interfaces/PathPatrolAddRequest.md +109 -0
- package/docs/api/types/interfaces/PathPatrolNodeRequest.md +21 -0
- package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +37 -0
- package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/PopupAddRequest.md +21 -0
- package/docs/api/types/interfaces/PopupDelayRequest.md +13 -0
- package/docs/api/types/interfaces/PopupItemRequest.md +61 -0
- package/docs/api/types/interfaces/PopupRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/PopupShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/PopupShowRequest.md +29 -0
- package/docs/api/types/interfaces/PopupSyncInfoRequest.md +37 -0
- package/docs/api/types/interfaces/QosEvent.md +65 -0
- package/docs/api/types/interfaces/QosReportingPayload.md +47 -0
- package/docs/api/types/interfaces/QosRuntimeContext.md +29 -0
- package/docs/api/types/interfaces/QosSessionContext.md +29 -0
- package/docs/api/types/interfaces/QosWarnErrorSummary.md +37 -0
- package/docs/api/types/interfaces/ResolvedEngineConfig.md +123 -0
- package/docs/api/types/interfaces/SceneListenCompassRequest.md +13 -0
- package/docs/api/types/interfaces/SceneSwitchRequest.md +13 -0
- package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +14 -0
- package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +15 -0
- package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +23 -0
- package/docs/api/types/interfaces/ScreenSetVideoDecodeRequest.md +13 -0
- package/docs/api/types/interfaces/SignallingAllocateResponse.md +27 -0
- package/docs/api/types/interfaces/StandardResponse.md +33 -0
- package/docs/api/types/interfaces/TimeSerialNode.md +21 -0
- package/docs/api/types/interfaces/TimelineNodeRequest.md +21 -0
- package/docs/api/types/interfaces/TimelinePlayRequest.md +53 -0
- package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +37 -0
- package/docs/api/types/interfaces/TimelineStopRequest.md +45 -0
- package/docs/api/types/interfaces/UIPOIAddRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIUpdateRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIUpdateStateRequest.md +21 -0
- package/docs/api/types/interfaces/Vector3JsonInput.md +27 -0
- package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +69 -0
- package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +29 -0
- package/docs/api/types/interfaces/WeatherSetDayAndNightRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherTypeRequest.md +27 -0
- package/docs/api/types/type-aliases/ApiCallback.md +21 -0
- package/docs/api/types/type-aliases/AuthWorkflowState.md +5 -0
- package/docs/api/types/type-aliases/DlssQuality.md +7 -0
- package/docs/api/types/type-aliases/EngineLogLevel.md +5 -0
- package/docs/api/types/type-aliases/EngineViewMode.md +5 -0
- package/docs/api/types/type-aliases/GetWeatherTypeRequest.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationActionType.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationLevel.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationMode.md +9 -0
- package/docs/api/types/type-aliases/QosEventName.md +9 -0
- package/docs/api/types/type-aliases/QosLevel.md +7 -0
- package/docs/api/types/type-aliases/QosStage.md +7 -0
- package/docs/api/types/type-aliases/QosStatus.md +7 -0
- package/docs/api/types/type-aliases/ScreenRenderBitratePreset.md +7 -0
- package/docs/api/types/type-aliases/Season.md +7 -0
- package/docs/api/types/type-aliases/Vector3Input.md +5 -0
- package/docs/api/types/variables/DlssQuality.md +57 -0
- package/docs/api/types/variables/QOS_EVENT_NAMES.md +7 -0
- package/docs/api/types/variables/ScreenRenderBitratePreset.md +39 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetOptions.md +5 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetValueMap.md +27 -0
- package/docs/api/types/variables/Season.md +33 -0
- package/package.json +86 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkMetricsSnapshot
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkMetricsSnapshot
|
|
4
|
+
|
|
5
|
+
媒体链路实时指标快照。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### ts
|
|
10
|
+
|
|
11
|
+
> **ts**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### connected
|
|
16
|
+
|
|
17
|
+
> **connected**: `boolean`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### fps?
|
|
22
|
+
|
|
23
|
+
> `optional` **fps**: `number`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### bitrateKbps?
|
|
28
|
+
|
|
29
|
+
> `optional` **bitrateKbps**: `number`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### packetLossRate?
|
|
34
|
+
|
|
35
|
+
> `optional` **packetLossRate**: `number`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### jitterMs?
|
|
40
|
+
|
|
41
|
+
> `optional` **jitterMs**: `number`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### rttMs?
|
|
46
|
+
|
|
47
|
+
> `optional` **rttMs**: `number`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### frameWidth?
|
|
52
|
+
|
|
53
|
+
> `optional` **frameWidth**: `number`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### frameHeight?
|
|
58
|
+
|
|
59
|
+
> `optional` **frameHeight**: `number`
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PathPatrolAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PathPatrolAddRequest
|
|
4
|
+
|
|
5
|
+
PathPatrol.add 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
模型对象父对象编号。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
场景的模型对象编号。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### assetPath?
|
|
26
|
+
|
|
27
|
+
> `optional` **assetPath**: `string`
|
|
28
|
+
|
|
29
|
+
场景的模型路径,可为空;为空时根据 id 到场景中寻找模型对象。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### scale
|
|
34
|
+
|
|
35
|
+
> **scale**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
|
+
|
|
37
|
+
模型缩放的大小。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### showPath?
|
|
42
|
+
|
|
43
|
+
> `optional` **showPath**: `boolean`
|
|
44
|
+
|
|
45
|
+
是否显示巡逻轨迹,默认 `true`。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### passedColor?
|
|
50
|
+
|
|
51
|
+
> `optional` **passedColor**: `string`
|
|
52
|
+
|
|
53
|
+
巡逻过的路径的显示颜色,默认 `#ffffff`。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### lineColor?
|
|
58
|
+
|
|
59
|
+
> `optional` **lineColor**: `string`
|
|
60
|
+
|
|
61
|
+
未巡逻路径的颜色,默认 `#00ff00`。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### lineWidth
|
|
66
|
+
|
|
67
|
+
> **lineWidth**: `number`
|
|
68
|
+
|
|
69
|
+
线路的宽度。
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### duration?
|
|
74
|
+
|
|
75
|
+
> `optional` **duration**: `number`
|
|
76
|
+
|
|
77
|
+
全程所需时间。
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### nodes?
|
|
82
|
+
|
|
83
|
+
> `optional` **nodes**: [`Vector3Input`](../type-aliases/Vector3Input.md)[]
|
|
84
|
+
|
|
85
|
+
路径点的集合,至少需要 2 个节点。
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### timeNodes?
|
|
90
|
+
|
|
91
|
+
> `optional` **timeNodes**: [`TimeSerialNode`](TimeSerialNode.md)[]
|
|
92
|
+
|
|
93
|
+
路径点时间序列的集合。
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### lineLayer?
|
|
98
|
+
|
|
99
|
+
> `optional` **lineLayer**: `string`
|
|
100
|
+
|
|
101
|
+
线的图层,如 TransparentFX。
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### afterRender?
|
|
106
|
+
|
|
107
|
+
> `optional` **afterRender**: `boolean`
|
|
108
|
+
|
|
109
|
+
是否后渲染,默认 `false`;`true` 后渲染(渲染不会阻挡),`false` 前渲染。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PathPatrolNodeRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PathPatrolNodeRequest
|
|
4
|
+
|
|
5
|
+
PathPatrol.pause / resume / stop 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
模型对象父对象编号。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
巡逻对象编号。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PathPatrolSetTimeNodeRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PathPatrolSetTimeNodeRequest
|
|
4
|
+
|
|
5
|
+
PathPatrol.setTimeNode 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
模型对象父对象编号。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
巡逻对象编号。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### timeStart?
|
|
26
|
+
|
|
27
|
+
> `optional` **timeStart**: `string`
|
|
28
|
+
|
|
29
|
+
时间节点,格式为 "2025-09-10 00:05:00"。`timeStart` 与 `startNodeIndex` 只能有一个不为空。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### startNodeIndex?
|
|
34
|
+
|
|
35
|
+
> `optional` **startNodeIndex**: `string`
|
|
36
|
+
|
|
37
|
+
开始节点索引,不能小于 0。`timeStart` 与 `startNodeIndex` 只能有一个不为空。
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PathPatrolUpdateRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PathPatrolUpdateRequest
|
|
4
|
+
|
|
5
|
+
PathPatrol.update 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
模型对象父对象编号。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
巡逻轨迹编号。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### lineColor?
|
|
26
|
+
|
|
27
|
+
> `optional` **lineColor**: `string`
|
|
28
|
+
|
|
29
|
+
巡逻轨迹的颜色。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### lineWidth?
|
|
34
|
+
|
|
35
|
+
> `optional` **lineWidth**: `number`
|
|
36
|
+
|
|
37
|
+
巡逻路线的宽度。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### passedColor?
|
|
42
|
+
|
|
43
|
+
> `optional` **passedColor**: `string`
|
|
44
|
+
|
|
45
|
+
巡逻过的路径的显示颜色。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### speed?
|
|
50
|
+
|
|
51
|
+
> `optional` **speed**: `number`
|
|
52
|
+
|
|
53
|
+
调整速度,不能小于 0。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PopupAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PopupAddRequest
|
|
4
|
+
|
|
5
|
+
Popup.addPop 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName?
|
|
10
|
+
|
|
11
|
+
> `optional` **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### popInfo?
|
|
18
|
+
|
|
19
|
+
> `optional` **popInfo**: [`PopupItemRequest`](PopupItemRequest.md)[]
|
|
20
|
+
|
|
21
|
+
气泡配置列表。
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PopupItemRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PopupItemRequest
|
|
4
|
+
|
|
5
|
+
Popup.addPop 单项配置。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### id
|
|
10
|
+
|
|
11
|
+
> **id**: `string`
|
|
12
|
+
|
|
13
|
+
气泡 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### parentId?
|
|
18
|
+
|
|
19
|
+
> `optional` **parentId**: `string`
|
|
20
|
+
|
|
21
|
+
父节点 ID。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### div
|
|
26
|
+
|
|
27
|
+
> **div**: `HTMLDivElement`
|
|
28
|
+
|
|
29
|
+
气泡 div 内容。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### visible?
|
|
34
|
+
|
|
35
|
+
> `optional` **visible**: `boolean`
|
|
36
|
+
|
|
37
|
+
是否可见。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### position?
|
|
42
|
+
|
|
43
|
+
> `optional` **position**: `Vector3`
|
|
44
|
+
|
|
45
|
+
显示位置。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### offSetX?
|
|
50
|
+
|
|
51
|
+
> `optional` **offSetX**: `number`
|
|
52
|
+
|
|
53
|
+
X 方向偏移。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### offSetY?
|
|
58
|
+
|
|
59
|
+
> `optional` **offSetY**: `number`
|
|
60
|
+
|
|
61
|
+
Y 方向偏移。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PopupRemoveRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PopupRemoveRequest
|
|
4
|
+
|
|
5
|
+
Popup.removePop 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName?
|
|
10
|
+
|
|
11
|
+
> `optional` **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids?
|
|
18
|
+
|
|
19
|
+
> `optional` **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
待删除气泡 ID 列表。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PopupShowRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PopupShowRequest
|
|
4
|
+
|
|
5
|
+
Popup.show 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName?
|
|
10
|
+
|
|
11
|
+
> `optional` **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids?
|
|
18
|
+
|
|
19
|
+
> `optional` **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
气泡 ID 列表。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### show?
|
|
26
|
+
|
|
27
|
+
> `optional` **show**: `boolean`
|
|
28
|
+
|
|
29
|
+
是否显示。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PopupSyncInfoRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PopupSyncInfoRequest
|
|
4
|
+
|
|
5
|
+
Popup 同步信息(引擎侧 SyncPops 推送 / 前端需同步的气泡条目)。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName
|
|
10
|
+
|
|
11
|
+
> **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
气泡 ID。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### parentId?
|
|
26
|
+
|
|
27
|
+
> `optional` **parentId**: `string`
|
|
28
|
+
|
|
29
|
+
父节点 ID。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### position?
|
|
34
|
+
|
|
35
|
+
> `optional` **position**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
|
+
|
|
37
|
+
显示位置。
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / QosEvent
|
|
2
|
+
|
|
3
|
+
# Interface: QosEvent
|
|
4
|
+
|
|
5
|
+
QoS 事件结构。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### eventName
|
|
10
|
+
|
|
11
|
+
> **eventName**: `"session_start"` \| `"auth_start"` \| `"auth_success"` \| `"auth_failed"` \| `"center_connect_start"` \| `"center_connected"` \| `"center_disconnected"` \| `"center_message_received"` \| `"webrtc_connect_start"` \| `"webrtc_connected"` \| `"webrtc_disconnected"` \| `"first_frame_rendered"` \| `"media_stats_sample"` \| `"ue_request_sent"` \| `"ue_response_received"` \| `"session_end"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### stage
|
|
16
|
+
|
|
17
|
+
> **stage**: [`QosStage`](../type-aliases/QosStage.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### status
|
|
22
|
+
|
|
23
|
+
> **status**: [`QosStatus`](../type-aliases/QosStatus.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### ts
|
|
28
|
+
|
|
29
|
+
> **ts**: `number`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### level
|
|
34
|
+
|
|
35
|
+
> **level**: [`QosLevel`](../type-aliases/QosLevel.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### durationMs?
|
|
40
|
+
|
|
41
|
+
> `optional` **durationMs**: `number`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### errorCode?
|
|
46
|
+
|
|
47
|
+
> `optional` **errorCode**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### errorMessage?
|
|
52
|
+
|
|
53
|
+
> `optional` **errorMessage**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### attrs?
|
|
58
|
+
|
|
59
|
+
> `optional` **attrs**: `Record`\<`string`, `unknown`\>
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### metrics?
|
|
64
|
+
|
|
65
|
+
> `optional` **metrics**: `Record`\<`string`, `unknown`\>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / QosReportingPayload
|
|
2
|
+
|
|
3
|
+
# Interface: QosReportingPayload
|
|
4
|
+
|
|
5
|
+
QoS 批量上报载荷。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### schemaVersion
|
|
10
|
+
|
|
11
|
+
> **schemaVersion**: `"1.0.0"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### source
|
|
16
|
+
|
|
17
|
+
> **source**: `"enginesdk3"`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### sdkVersion
|
|
22
|
+
|
|
23
|
+
> **sdkVersion**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### sentAt
|
|
28
|
+
|
|
29
|
+
> **sentAt**: `number`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### session
|
|
34
|
+
|
|
35
|
+
> **session**: [`QosSessionContext`](QosSessionContext.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### context
|
|
40
|
+
|
|
41
|
+
> **context**: [`QosRuntimeContext`](QosRuntimeContext.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### events
|
|
46
|
+
|
|
47
|
+
> **events**: [`QosEvent`](QosEvent.md)[]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / QosRuntimeContext
|
|
2
|
+
|
|
3
|
+
# Interface: QosRuntimeContext
|
|
4
|
+
|
|
5
|
+
运行环境上下文。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### appId?
|
|
10
|
+
|
|
11
|
+
> `optional` **appId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### env?
|
|
16
|
+
|
|
17
|
+
> `optional` **env**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### pageUrl?
|
|
22
|
+
|
|
23
|
+
> `optional` **pageUrl**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### userAgent?
|
|
28
|
+
|
|
29
|
+
> `optional` **userAgent**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / QosSessionContext
|
|
2
|
+
|
|
3
|
+
# Interface: QosSessionContext
|
|
4
|
+
|
|
5
|
+
会话维度上下文。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### sessionId
|
|
10
|
+
|
|
11
|
+
> **sessionId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### traceId
|
|
16
|
+
|
|
17
|
+
> **traceId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### runMode
|
|
22
|
+
|
|
23
|
+
> **runMode**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### viewMode
|
|
28
|
+
|
|
29
|
+
> **viewMode**: `string`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / QosWarnErrorSummary
|
|
2
|
+
|
|
3
|
+
# Interface: QosWarnErrorSummary
|
|
4
|
+
|
|
5
|
+
warn/error 聚合统计指标。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### logWarnCount
|
|
10
|
+
|
|
11
|
+
> **logWarnCount**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### logErrorCount
|
|
16
|
+
|
|
17
|
+
> **logErrorCount**: `number`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### logErrorByStage
|
|
22
|
+
|
|
23
|
+
> **logErrorByStage**: `Partial`\<`Record`\<[`QosStage`](../type-aliases/QosStage.md), `number`\>\>
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### logErrorTopCodes
|
|
28
|
+
|
|
29
|
+
> **logErrorTopCodes**: `object`[]
|
|
30
|
+
|
|
31
|
+
#### code
|
|
32
|
+
|
|
33
|
+
> **code**: `string`
|
|
34
|
+
|
|
35
|
+
#### count
|
|
36
|
+
|
|
37
|
+
> **count**: `number`
|