酷店

TBSDKSendFileObject.h 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. // '########'########::'######:'########:'##:::'##:
  2. // ... ##..::##.... ##'##... ##:##.... ##:##::'##::
  3. // ::: ##::::##:::: ##:##:::..::##:::: ##:##:'##:::
  4. // ::: ##::::########:. ######::##:::: ##:#####::::
  5. // ::: ##::::##.... ##:..... ##:##:::: ##:##. ##:::
  6. // ::: ##::::##:::: ##'##::: ##:##:::: ##:##:. ##::
  7. // ::: ##::::########:. ######::########::##::. ##:
  8. // :::..::::........:::......::........::..::::..::
  9. //
  10. // Created by 亿刀/禚来强 on 13-6-26.
  11. // Copyright (c) 2013年 亿刀/禚来强. All rights reserved.
  12. //
  13. #import <Foundation/Foundation.h>
  14. @interface TBSDKSendFileObject : NSObject
  15. @property (nonatomic, strong) NSData* data;
  16. @property (nonatomic, strong) NSString* fileName;
  17. @property (nonatomic, strong) NSString* key;
  18. /*!
  19. * 初始化一个文件上传对象
  20. * @param data 文件数据
  21. * @param fileName 本地文件名
  22. * @param forKey form field key
  23. * @return
  24. * TBSDKSendFileObject
  25. */
  26. - (TBSDKSendFileObject*) initWithData: (NSData*) data fileName: (NSString*) fileName forKey: (NSString*) key;
  27. @end