| | |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "WASocialProxy.h" |
| | | #import <WASdkIntf/WASocialProxy.h> |
| | | @protocol WASharingContent; |
| | | |
| | | @interface WAISocial : NSObject |
| | |
| | | -(void)postWithRequestId:(NSString*)requestId andInviteeIds:(NSString*)inviteeIds platform:(NSString *const)platfrom handler:(void (^)(NSUInteger code,NSString* msg, NSError* error)) handler; |
| | | -(void)inviteInstallRewardWithTokenString:(NSString *)accessToken platform:(NSString*)platform inviteIds:(NSString*)inviteIds handler:(void (^)(NSUInteger, NSString *, NSError *))handler; |
| | | -(void)inviteEventRewardWithPlatform:(NSString *const)platform eventName:(NSString*)eventName handler:(void (^)(NSUInteger code,NSString* msg, NSError* error)) handler; |
| | | |
| | | -(void)shareInviteLink:(int)shareType completeBlock:(void (^)(NSError* error)) completeBlock; |
| | | -(void)getShareFriendsCount:(void (^)(NSError* error,int count)) completeBlock; |
| | | -(void)handleDeepLink:(NSString*)targetView params:(NSDictionary*)dic; |
| | | |
| | | |
| | | /** |
| | | * 生成邀请链接 |
| | | * |
| | | * @param callback 回调 |
| | | */ |
| | | |
| | | |
| | | - (void)generateInviteLink:(NSString*)channel Campaign:(NSString*)campaign params:(NSDictionary*)dic completeBlock:(void (^)(NSError* error,NSString* shortUrlStr,NSString* longUrlStr)) completeBlock; |
| | | |
| | | |
| | | /** |
| | | * 生成邀请长链接 |
| | | * |
| | | * @param callback 回调 |
| | | */ |
| | | - (void)generateInviteLinkLong:(NSString*)channel Campaign:(NSString*)campaign params:(NSDictionary*)dic completeBlock:(void (^)(NSError* error,NSString* urlStr)) completeBlock; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 处理深度链接 |
| | | */ |
| | | |
| | | - (void)handleDeepLink:(NSString*)targetView deepParam:(NSDictionary*)params; |
| | | |
| | | @end |