@hyext/types-ext-sdk-hy 3.17.1-beta.4 → 3.17.1-beta.5

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 (2) hide show
  1. package/index.d.ts +28 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1026,6 +1026,12 @@ namespace advance {
1026
1026
  * @returns 调用结果
1027
1027
  */
1028
1028
  function getReverseSubscribeInfo(): Promise<ReverseSubscribeInfoRsp>;
1029
+ /**
1030
+ * 设置视频容器位置
1031
+ * @param params - 参数
1032
+ * @returns 调用结果
1033
+ */
1034
+ function setVideoContainerPosition(params: SetVideoContainerPositionReq): Promise<void>;
1029
1035
  }
1030
1036
 
1031
1037
  /**
@@ -1804,6 +1810,14 @@ type ReverseSubscribeInfoRsp = {
1804
1810
  isSubscribed: boolean;
1805
1811
  };
1806
1812
 
1813
+ /**
1814
+ * 设置视频容器位置参数
1815
+ * @property position - 视频容器位置, toTop-顶部, reset-复位
1816
+ */
1817
+ type SetVideoContainerPositionReq = {
1818
+ position: string;
1819
+ };
1820
+
1807
1821
  /**
1808
1822
  * app模块
1809
1823
  */
@@ -7210,6 +7224,12 @@ namespace popup {
7210
7224
  * @returns 调用结果
7211
7225
  */
7212
7226
  function offPopupStatusChange(): Promise<void>;
7227
+ /**
7228
+ * 设置底部横幅模式顶开公屏高度
7229
+ * @param params - 调用参数
7230
+ * @returns 调用结果
7231
+ */
7232
+ function setBottomBannerMaskHeight(params: SetBottomBannerMaskHeightReq): Promise<void>;
7213
7233
  }
7214
7234
 
7215
7235
  /**
@@ -7367,6 +7387,14 @@ type OnPopupStatusChangeReq = {
7367
7387
  callback: PopupStatusChange;
7368
7388
  };
7369
7389
 
7390
+ /**
7391
+ * 设置底部横幅模式顶开公屏高度参数
7392
+ * @property maskHeight - 顶开公屏的高度,单位是点/像素
7393
+ */
7394
+ type SetBottomBannerMaskHeightReq = {
7395
+ maskHeight: number;
7396
+ };
7397
+
7370
7398
  /**
7371
7399
  * 识别相关
7372
7400
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.17.1-beta.4",
3
+ "version": "3.17.1-beta.5",
4
4
  "description": "TypeScript definitions for sdk",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",