StorageConfig.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // StorageConfig.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/12/7.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface StorageConfig : NSObject
  10. /** 时间戳 */
  11. +(void)saveResTime:(NSDate *)save;
  12. +(NSDate *)getResTime;
  13. +(void)clearResTime;
  14. /** 存储类型 */
  15. +(void)saveStorageType:(NSString *)save;
  16. +(NSString *)getStorageType;
  17. /** 七牛相关 */
  18. +(void)saveQNZone:(NSString *)save;
  19. +(NSString *)getQNZone;
  20. +(void)saveQNToken:(NSString *)save;
  21. +(NSString*)getQNToken;
  22. +(void)saveQNDomain:(NSString *)save;
  23. +(NSString *)getQNDomain;
  24. /** 腾讯相关 */
  25. +(void)saveTXRegion:(NSString *)save;
  26. +(NSString *)getTXRegion;
  27. +(void)saveTXBucket:(NSString *)save;
  28. +(NSString *)getTXBucket;
  29. +(void)saveTXAppID:(NSString *)save;
  30. +(NSString *)getTXAppID;
  31. /** 亚马逊相关 */
  32. //存储桶
  33. +(void)saveAwsBucket:(NSString *)save;
  34. +(NSString *)getAwsBucket;
  35. //区域
  36. +(void)saveAwsRegion:(NSString *)save;
  37. +(NSString *)getAwsRegion;
  38. //标识
  39. +(void)saveAwsIdentityPoolid:(NSString *)save;
  40. +(NSString *)getAwsIdentityPoolid;
  41. @end