QNALAssetFile.h 556 B

12345678910111213141516171819202122232425262728
  1. //
  2. // QNALAssetFile.h
  3. // QiniuSDK
  4. //
  5. // Created by bailong on 15/7/25.
  6. // Copyright (c) 2015年 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "QNFileDelegate.h"
  10. #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED)
  11. @class ALAsset;
  12. @interface QNALAssetFile : NSObject <QNFileDelegate>
  13. /**
  14. * 打开指定文件
  15. *
  16. * @param path 文件路径
  17. * @param error 输出的错误信息
  18. *
  19. * @return 实例
  20. */
  21. - (instancetype)init:(ALAsset *)asset
  22. error:(NSError *__autoreleasing *)error;
  23. @end
  24. #endif