提交 9f652f58 作者: 王进

增加视频回放功能接口

上级 a187ad1b
......@@ -6,7 +6,7 @@
class WechatSDK {
private sdkVersion: string = '2.4'
public constructor() {
this.sdkInit()
this.sdkInit();
this.timerInit();
}
private onlineTime: number = 0; // 在线时长(单位:分钟)
......@@ -558,7 +558,7 @@ class WechatSDK {
private clickCounter = 0 // 当前用户点击次数
public userClickEvent() {
this.clickCounter++;
console.log("--SDK当前点击次数", this.clickCounter);
// console.log("--SDK当前点击次数", this.clickCounter);
}
private async clickReport() {
if(this.clickCounter > 0) {
......@@ -1021,11 +1021,11 @@ class WechatSDK {
timeRange: shareInfo.timeRange
}
};
console.log(recorderShareInfo);
let recorderBtn = (wx as any).createGameRecorderShareButton(recorderShareInfo);
recorderBtn.onTap(res => {
console.log('--录屏异常:', res);
})
recorderBtn.hide();
});
}
private heartParams = {
action: "heartbeat",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论