setItem.d.ts 775 B

12345678910111213141516171819202122232425
  1. /**
  2. * 本地存储(区分域名)写 请求参数定义
  3. * @apiName util.domainStorage.setItem
  4. */
  5. export interface IUtilDomainStorageSetItemParams {
  6. /** 存储信息的key值 */
  7. name: string;
  8. /** 存储信息的Value值 */
  9. value: string;
  10. }
  11. /**
  12. * 本地存储(区分域名)写 返回结果定义
  13. * @apiName util.domainStorage.setItem
  14. */
  15. export interface IUtilDomainStorageSetItemResult {
  16. [key: string]: any;
  17. }
  18. /**
  19. * 本地存储(区分域名)写
  20. * 每次存储数据不能超过1M,单域名不能超过50M.
  21. * @apiName util.domainStorage.setItem
  22. * @supportVersion ios: 2.9.0 android: 2.9.0
  23. */
  24. export declare function setItem$(params: IUtilDomainStorageSetItemParams): Promise<IUtilDomainStorageSetItemResult>;
  25. export default setItem$;