showPreloader.d.ts 783 B

123456789101112131415161718192021222324
  1. /**
  2. * 显示浮层 请求参数定义
  3. * @apiName device.notification.showPreloader
  4. */
  5. export interface IDeviceNotificationShowPreloaderParams {
  6. /** loading显示的字符,空表示不显示文字 */
  7. text?: string;
  8. /** 是否显示icon,默认true */
  9. showIcon?: boolean;
  10. }
  11. /**
  12. * 显示浮层 返回结果定义
  13. * @apiName device.notification.showPreloader
  14. */
  15. export interface IDeviceNotificationShowPreloaderResult {
  16. }
  17. /**
  18. * 显示浮层
  19. * (显示浮层,请和hidePreloader配对使用)
  20. * @apiName device.notification.showPreloader
  21. * @supportVersion ios: 2.4.0 android: 2.4.0
  22. */
  23. export declare function showPreloader$(params: IDeviceNotificationShowPreloaderParams): Promise<IDeviceNotificationShowPreloaderResult>;
  24. export default showPreloader$;