省钱达人

WXApiResponseHandler.h 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // WXApiResponseManager.h
  3. // SDKSample
  4. //
  5. // Created by Jeason on 15/7/14.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WXApiObject.h"
  10. @interface WXApiResponseHandler : NSObject
  11. + (BOOL)respText:(NSString *)text;
  12. + (BOOL)respImageData:(NSData *)imageData
  13. MessageExt:(NSString *)messageExt
  14. Action:(NSString *)action
  15. ThumbImage:(UIImage *)thumbImage;
  16. + (BOOL)respLinkURL:(NSString *)urlString
  17. Title:(NSString *)title
  18. Description:(NSString *)description
  19. ThumbImage:(UIImage *)thumbImage;
  20. + (BOOL)respMusicURL:(NSString *)musicURL
  21. dataURL:(NSString *)dataURL
  22. Title:(NSString *)title
  23. Description:(NSString *)description
  24. ThumbImage:(UIImage *)thumbImage;
  25. + (BOOL)respVideoURL:(NSString *)videoURL
  26. Title:(NSString *)title
  27. Description:(NSString *)description
  28. ThumbImage:(UIImage *)thumbImage;
  29. + (BOOL)respEmotionData:(NSData *)emotionData
  30. ThumbImage:(UIImage *)thumbImage;
  31. + (BOOL)respFileData:(NSData *)fileData
  32. fileExtension:(NSString *)extension
  33. Title:(NSString *)title
  34. Description:(NSString *)description
  35. ThumbImage:(UIImage *)thumbImage;
  36. + (BOOL)respAppContentData:(NSData *)data
  37. ExtInfo:(NSString *)info
  38. ExtURL:(NSString *)url
  39. Title:(NSString *)title
  40. Description:(NSString *)description
  41. MessageExt:(NSString *)messageExt
  42. MessageAction:(NSString *)action
  43. ThumbImage:(UIImage *)thumbImage;
  44. @end