launchApp.d.ts 685 Bytes
Newer Older
liang ce committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/**
 * 启动第三方app 请求参数定义
 * @apiName device.launcher.launchApp
 */
export interface IDeviceLauncherLaunchAppParams {
    /** iOS:应用scheme;Android:应用包名 */
    app: string;
}
/**
 * 启动第三方app 返回结果定义
 * @apiName device.launcher.launchApp
 */
export interface IDeviceLauncherLaunchAppResult {
    /** 唤起状态: true 唤起成功 false 唤起失败 */
    result: boolean;
}
/**
 * 启动第三方app
 * @apiName device.launcher.launchApp
 * @supportVersion  ios: 2.4.0 android: 2.4.0
 */
export declare function launchApp$(params: IDeviceLauncherLaunchAppParams): Promise<IDeviceLauncherLaunchAppResult>;
export default launchApp$;