You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
690 B
41 lines
690 B
1 week ago
|
|
||
|
declare module ZYSDK {
|
||
|
|
||
|
class ZYSDK {
|
||
|
/**
|
||
|
* 初始化sdk
|
||
|
*/
|
||
|
static initSdk();
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @param isFinish 视频是否播完
|
||
|
*/
|
||
|
static reportVideo(isFinish: boolean);
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @param action 用户行为
|
||
|
*/
|
||
|
static reportUserAction(action: string);
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* 获取关卡顺序
|
||
|
*/
|
||
|
static getLevel();
|
||
|
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* 获取userid
|
||
|
*/
|
||
|
static getUserId();
|
||
|
|
||
|
/**
|
||
|
* 用户订阅消息后通知后台
|
||
|
*/
|
||
|
static subscribe(templateid);
|
||
|
|
||
|
}
|
||
|
}
|