dingtalk-jsapi
Version:
钉钉 模块化 多端统一 API
30 lines (29 loc) • 729 B
TypeScript
export declare const apiName = "biz.util.ut";
/**
* 上报埋点 请求参数定义
* @apiName biz.util.ut
*/
export interface IBizUtilUtParams {
/** gmkey */
key: string;
/** gokey, jsapi层填obj */
value?: {
[key: string]: string;
};
/** 允许钉钉在后台时也发送埋点,而不是丢弃;目前仅安卓消费 */
allowBackground?: boolean;
}
/**
* 上报埋点 返回结果定义
* @apiName biz.util.ut
*/
export interface IBizUtilUtResult {
[key: string]: any;
}
/**
* 上报埋点
* @apiName biz.util.ut
* @supportVersion pc: 3.0.0 ios: 2.4.0 android: 2.4.0
*/
export declare function ut$(params: IBizUtilUtParams): Promise<IBizUtilUtResult>;
export default ut$;