checkInstalledApps.d.ts 875 B

123456789101112131415161718192021222324
  1. /**
  2. * 检测应用是否安装 请求参数定义
  3. * @apiName device.launcher.checkInstalledApps
  4. */
  5. export interface IDeviceLauncherCheckInstalledAppsParams {
  6. /** 你要检测的应用列表 iOS:应用scheme;Android:应用包名 */
  7. apps: string[];
  8. }
  9. /**
  10. * 检测应用是否安装 返回结果定义
  11. * @apiName device.launcher.checkInstalledApps
  12. */
  13. export interface IDeviceLauncherCheckInstalledAppsResult {
  14. /** 安装过的应用列表 iOS:应用scheme;Android:应用包名 */
  15. installed: string[];
  16. }
  17. /**
  18. * 检测应用是否安装
  19. * iOS平台仅对iOS9之前的系统有效
  20. * @apiName device.launcher.checkInstalledApps
  21. * @supportVersion ios: 2.4.0 android: 2.4.0
  22. */
  23. export declare function checkInstalledApps$(params: IDeviceLauncherCheckInstalledAppsParams): Promise<IDeviceLauncherCheckInstalledAppsResult>;
  24. export default checkInstalledApps$;