@hyext/types-ext-sdk-hy 3.18.1 → 3.18.2
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 +33 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1056,6 +1056,12 @@ namespace advance {
|
|
|
1056
1056
|
* @returns 调用结果
|
|
1057
1057
|
*/
|
|
1058
1058
|
function offSeiContentChange(params: OffSeiContentChangeReq): Promise<void>;
|
|
1059
|
+
/**
|
|
1060
|
+
* 获取所有订阅UID列表
|
|
1061
|
+
* @param params - 传入参数
|
|
1062
|
+
* @returns 调用结果
|
|
1063
|
+
*/
|
|
1064
|
+
function getAllSubscribeToUidList(params: GetAllSubscribeToUidListReq): Promise<GetAllSubscribeToUidListRsp>;
|
|
1059
1065
|
}
|
|
1060
1066
|
|
|
1061
1067
|
/**
|
|
@@ -1387,13 +1393,13 @@ type SendActivityGiftRsp = {
|
|
|
1387
1393
|
|
|
1388
1394
|
/**
|
|
1389
1395
|
* 定制送礼接口参数
|
|
1390
|
-
* @property giftId -
|
|
1391
|
-
* @property giftCount -
|
|
1392
|
-
* @property [useSelectMic] -
|
|
1393
|
-
* @property sourceType -
|
|
1394
|
-
* @property [mapParam] -
|
|
1395
|
-
* @property [uid] - uid
|
|
1396
|
-
* @property [secondConfirm] -
|
|
1396
|
+
* @property giftId - 礼物i的
|
|
1397
|
+
* @property giftCount - 礼物数量
|
|
1398
|
+
* @property [useSelectMic] - 向已选上麦用户送礼
|
|
1399
|
+
* @property sourceType - 礼物来源
|
|
1400
|
+
* @property [mapParam] - 普通透传参数
|
|
1401
|
+
* @property [uid] - 指定送礼目标uid,优先级高于useSelectMic
|
|
1402
|
+
* @property [secondConfirm] - 是否弹出送礼确认框
|
|
1397
1403
|
*/
|
|
1398
1404
|
type SendActivityGiftReq = {
|
|
1399
1405
|
giftId: number;
|
|
@@ -1611,7 +1617,7 @@ type GetNavCompOffsetRsp = {
|
|
|
1611
1617
|
|
|
1612
1618
|
/**
|
|
1613
1619
|
* 获取原生组件布局信息参数
|
|
1614
|
-
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认)
|
|
1620
|
+
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认), videoBottomBar-视频底部工具栏
|
|
1615
1621
|
*/
|
|
1616
1622
|
type GetNavCompOffsetReq = {
|
|
1617
1623
|
key: string;
|
|
@@ -1620,7 +1626,7 @@ type GetNavCompOffsetReq = {
|
|
|
1620
1626
|
/**
|
|
1621
1627
|
* 原生组件布局信息
|
|
1622
1628
|
* @property list - 布局信息列表
|
|
1623
|
-
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认)
|
|
1629
|
+
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认), videoBottomBar-视频底部工具栏
|
|
1624
1630
|
*/
|
|
1625
1631
|
type NavCompOffsetChangeInfo = {
|
|
1626
1632
|
list: NavCompLayoutInfo[];
|
|
@@ -1634,7 +1640,7 @@ type NavCompOffsetChange = (info: NavCompOffsetChangeInfo) => void;
|
|
|
1634
1640
|
|
|
1635
1641
|
/**
|
|
1636
1642
|
* 监听原生组件布局信息变化参数
|
|
1637
|
-
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认)
|
|
1643
|
+
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认), videoBottomBar-视频底部工具栏
|
|
1638
1644
|
* @property callback - 布局变化回调
|
|
1639
1645
|
*/
|
|
1640
1646
|
type OnNavCompOffsetChangeReq = {
|
|
@@ -1644,7 +1650,7 @@ type OnNavCompOffsetChangeReq = {
|
|
|
1644
1650
|
|
|
1645
1651
|
/**
|
|
1646
1652
|
* 取消监听原生组件布局信息变化参数
|
|
1647
|
-
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认)
|
|
1653
|
+
* @property key - 原生控件标签, video-视频, linkMicAvatar-连麦用户头像(默认), videoBottomBar-视频底部工具栏
|
|
1648
1654
|
*/
|
|
1649
1655
|
type OffNavCompOffsetChangeReq = {
|
|
1650
1656
|
key: string;
|
|
@@ -1893,6 +1899,22 @@ type OffSeiContentChangeReq = {
|
|
|
1893
1899
|
port: number;
|
|
1894
1900
|
};
|
|
1895
1901
|
|
|
1902
|
+
/**
|
|
1903
|
+
* 所有订阅UID列表
|
|
1904
|
+
* @property vAllUid - 跟当前用户有订阅关系的主播uid列表
|
|
1905
|
+
*/
|
|
1906
|
+
type GetAllSubscribeToUidListRsp = {
|
|
1907
|
+
vAllUid: string[];
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* 获取所有订阅UID列表参数
|
|
1912
|
+
* @property [targetUidList] - 要获取的主播uid列表
|
|
1913
|
+
*/
|
|
1914
|
+
type GetAllSubscribeToUidListReq = {
|
|
1915
|
+
targetUidList?: string[];
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1896
1918
|
/**
|
|
1897
1919
|
* app模块
|
|
1898
1920
|
*/
|
|
@@ -9781,13 +9803,11 @@ type LiveVodModeInfo = {
|
|
|
9781
9803
|
|
|
9782
9804
|
/**
|
|
9783
9805
|
* 配置信息
|
|
9784
|
-
* @property url - 视频url
|
|
9785
9806
|
* @property channel - 点播视频品类ID
|
|
9786
9807
|
* @property isFreeData - 是否免流
|
|
9787
9808
|
* @property extraParam - 额外参数,key和value都是string
|
|
9788
9809
|
*/
|
|
9789
9810
|
type NativeVideoComponentConfig = {
|
|
9790
|
-
url: string;
|
|
9791
9811
|
channel: string;
|
|
9792
9812
|
isFreeData: boolean;
|
|
9793
9813
|
extraParam: any;
|