WXApiRequestHandler.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //
  2. // WXApiManager.h
  3. // SDKSample
  4. //
  5. // Created by Jeason on 15/7/14.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WXApiObject.h"
  10. #import <UIKit/UIKit.h>
  11. @interface WXApiRequestHandler : NSObject
  12. + (BOOL)sendText:(NSString *)text
  13. InScene:(enum WXScene)scene;
  14. + (BOOL)sendImageData:(NSData *)imageData
  15. TagName:(NSString *)tagName
  16. MessageExt:(NSString *)messageExt
  17. Action:(NSString *)action
  18. ThumbImage:(UIImage *)thumbImage
  19. InScene:(enum WXScene)scene;
  20. + (BOOL)sendLinkURL:(NSString *)urlString
  21. TagName:(NSString *)tagName
  22. Title:(NSString *)title
  23. Description:(NSString *)description
  24. ThumbImage:(UIImage *)thumbImage
  25. InScene:(enum WXScene)scene;
  26. + (BOOL)sendMusicURL:(NSString *)musicURL
  27. dataURL:(NSString *)dataURL
  28. Title:(NSString *)title
  29. Description:(NSString *)description
  30. ThumbImage:(UIImage *)thumbImage
  31. InScene:(enum WXScene)scene;
  32. + (BOOL)sendVideoURL:(NSString *)videoURL
  33. Title:(NSString *)title
  34. Description:(NSString *)description
  35. ThumbImage:(UIImage *)thumbImage
  36. InScene:(enum WXScene)scene;
  37. + (BOOL)sendEmotionData:(NSData *)emotionData
  38. ThumbImage:(UIImage *)thumbImage
  39. InScene:(enum WXScene)scene;
  40. + (BOOL)sendFileData:(NSData *)fileData
  41. fileExtension:(NSString *)extension
  42. Title:(NSString *)title
  43. Description:(NSString *)description
  44. ThumbImage:(UIImage *)thumbImage
  45. InScene:(enum WXScene)scene;
  46. + (BOOL)sendAppContentData:(NSData *)data
  47. ExtInfo:(NSString *)info
  48. ExtURL:(NSString *)url
  49. Title:(NSString *)title
  50. Description:(NSString *)description
  51. MessageExt:(NSString *)messageExt
  52. MessageAction:(NSString *)action
  53. ThumbImage:(UIImage *)thumbImage
  54. InScene:(enum WXScene)scene;
  55. + (BOOL)addCardsToCardPackage:(NSArray *)cardIds;
  56. + (BOOL)sendAuthRequestScope:(NSString *)scope
  57. State:(NSString *)state
  58. OpenID:(NSString *)openID
  59. InViewController:(UIViewController *)viewController;
  60. + (BOOL)jumpToBizWebviewWithAppID:(NSString *)appID
  61. Description:(NSString *)description
  62. tousrname:(NSString *)tousrname
  63. ExtMsg:(NSString *)extMsg;
  64. + (NSString *)jumpToBizPay;
  65. @end