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.
39 lines
662 B
39 lines
662 B
|
|
declare module ZYSDK {
|
|
|
|
class ZYSDK {
|
|
/**
|
|
* 初始化sdk
|
|
*/
|
|
static initSdk();
|
|
|
|
/**
|
|
*
|
|
* @param isFinish 视频是否播完
|
|
*/
|
|
static reportVideo(isFinish: boolean);
|
|
|
|
/**
|
|
*
|
|
* @param action 用户行为
|
|
*/
|
|
static reportUserAction(action: string);
|
|
|
|
/**
|
|
* 用户订阅消息后通知后台
|
|
*/
|
|
static subscribe();
|
|
|
|
/**
|
|
*
|
|
* 获取关卡顺序
|
|
*/
|
|
static getLevel();
|
|
|
|
/**
|
|
*
|
|
* 获取userid
|
|
*/
|
|
static getUserId();
|
|
}
|
|
} |