@hyext/types-ext-sdk-hy 3.14.1-beta.19 → 3.14.1-beta.21
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 +14 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -844,6 +844,12 @@ namespace advance {
|
|
|
844
844
|
* @returns 调用结果
|
|
845
845
|
*/
|
|
846
846
|
function getFreeFlowFlag(): Promise<FreeFlowFlagRsp>;
|
|
847
|
+
/**
|
|
848
|
+
* 直接发送弹幕
|
|
849
|
+
* @param params - 参数
|
|
850
|
+
* @returns 调用结果
|
|
851
|
+
*/
|
|
852
|
+
function sendBarrage(params: SendBarrageReq): Promise<void>;
|
|
847
853
|
}
|
|
848
854
|
|
|
849
855
|
/**
|
|
@@ -1448,6 +1454,14 @@ type FreeFlowFlagRsp = {
|
|
|
1448
1454
|
flag: number;
|
|
1449
1455
|
};
|
|
1450
1456
|
|
|
1457
|
+
/**
|
|
1458
|
+
* 发送弹幕信息
|
|
1459
|
+
* @property content - 弹幕内容
|
|
1460
|
+
*/
|
|
1461
|
+
type SendBarrageReq = {
|
|
1462
|
+
content: string;
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1451
1465
|
/**
|
|
1452
1466
|
* app模块
|
|
1453
1467
|
*/
|