zhizhi/node_modules/dingtalk-jsapi/api/runtime/monitor/getLoadTime.d.ts

31 lines
975 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 获取H5容器启动时间 请求参数定义
* @apiName runtime.monitor.getLoadTime
*/
export interface IRuntimeMonitorGetLoadTimeParams {
/**
* RuntimeLaunchTime容器启动耗时
* PageLoadTime容器启动时间从init到第一个页面加载成功
* RuntimeStartLoadTime容器初始化到容器中的 webview 开始加载 web 资源的耗时
*/
type: string;
}
/**
* 获取H5容器启动时间 返回结果定义
* @apiName runtime.monitor.getLoadTime
*/
export interface IRuntimeMonitorGetLoadTimeResult {
/** 所查询对应的时间 */
time: number;
/** 同入参 */
type: string;
}
/**
* 获取H5容器启动时间
* @apiName runtime.monitor.getLoadTime
* @supportVersion ios: 6.0.10 android: 6.0.10
* @author Android泠轩 iOS序元
*/
export declare function getLoadTime$(params: IRuntimeMonitorGetLoadTimeParams): Promise<IRuntimeMonitorGetLoadTimeResult>;
export default getLoadTime$;