CloudAbilityConfig.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // CloudAbilityConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by XM on 2018/12/27.
  6. // Copyright © 2018年 XM. All rights reserved.
  7. //
  8. /*******
  9. 云存储功能
  10. 云存储照片和视频支持情况
  11. *******/
  12. #import "FunMsgListener.h"
  13. #import "CloudAbilityDataSource.h"
  14. @protocol CloudStateRequestDelegate <NSObject>
  15. //获取云服务能力级回调
  16. - (void)getCloudAbilityResult:(NSInteger)result;
  17. //获取云视频和云图片能力级回调
  18. -(void)getVideoOrPicAbilityResult:(NSInteger)result;
  19. @end
  20. // 云存储能力集字段解释
  21. // xmc.service.support 云服务是否支持
  22. // xmc.service.enable 云服务是否开通
  23. // xmc.service.normal 云服务是否正常使用
  24. @interface CloudAbilityConfig : FunMsgListener
  25. @property (nonatomic,assign) id <CloudStateRequestDelegate> delegate;
  26. #pragma mark 请求服务器端云存储能力集
  27. -(void)getCloudAbilityServer;
  28. #pragma mark 是否支持云视频或云图片
  29. -(void)getVideoOrPicAbilityServer;
  30. #pragma mark 读取云服务状态
  31. - (NSString*)getCloudState; //获取云存储状态
  32. - (NSString*)getVideoEnable; //获取云视频支持情况
  33. - (NSString*)getPicEnable; //获取云图片支持情况
  34. @end