@hyext/types-ext-sdk-hy 3.14.1-beta.17 → 3.14.1-beta.19
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/index.d.ts +15 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -839,6 +839,11 @@ namespace advance {
|
|
|
839
839
|
* @returns 调用结果
|
|
840
840
|
*/
|
|
841
841
|
function getDynamicConfigString(params: GetDynamicConfigReq): Promise<GetDynamicConfigRsp>;
|
|
842
|
+
/**
|
|
843
|
+
* 获取免流标记
|
|
844
|
+
* @returns 调用结果
|
|
845
|
+
*/
|
|
846
|
+
function getFreeFlowFlag(): Promise<FreeFlowFlagRsp>;
|
|
842
847
|
}
|
|
843
848
|
|
|
844
849
|
/**
|
|
@@ -1435,6 +1440,14 @@ type GetDynamicConfigReq = {
|
|
|
1435
1440
|
key: string;
|
|
1436
1441
|
};
|
|
1437
1442
|
|
|
1443
|
+
/**
|
|
1444
|
+
* 免流标记信息
|
|
1445
|
+
* @property flag - 免流标记, 0-无效, 1-腾讯免流卡, 2-阿里免流卡
|
|
1446
|
+
*/
|
|
1447
|
+
type FreeFlowFlagRsp = {
|
|
1448
|
+
flag: number;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1438
1451
|
/**
|
|
1439
1452
|
* app模块
|
|
1440
1453
|
*/
|
|
@@ -8039,10 +8052,12 @@ type ComponentLayout = {
|
|
|
8039
8052
|
* 实时点播模式
|
|
8040
8053
|
* @property url - 视频url
|
|
8041
8054
|
* @property cdnName - CDN域名
|
|
8055
|
+
* @property isEnd - 是否是最后一个8视频,播放器播完状态会返回播放结束
|
|
8042
8056
|
*/
|
|
8043
8057
|
type LiveVodModeInfo = {
|
|
8044
8058
|
url: string;
|
|
8045
8059
|
cdnName: string;
|
|
8060
|
+
isEnd: boolean;
|
|
8046
8061
|
};
|
|
8047
8062
|
|
|
8048
8063
|
/**
|