QNPHAssetResource.h 598 B

123456789101112131415161718192021222324252627
  1. //
  2. // QNPHAssetResource.h
  3. // QiniuSDK
  4. //
  5. // Created by 何舒 on 16/2/14.
  6. // Copyright © 2016年 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "QNFileDelegate.h"
  10. @class PHAssetResource;
  11. API_AVAILABLE(ios(9.0)) @interface QNPHAssetResource : NSObject <QNFileDelegate>
  12. /**
  13. * 打开指定文件
  14. *
  15. * @param phAssetResource PHLivePhoto的PHAssetResource文件
  16. * @param error 输出的错误信息
  17. *
  18. * @return 实例
  19. */
  20. - (instancetype)init:(PHAssetResource *)phAssetResource
  21. error:(NSError *__autoreleasing *)error;
  22. @end