酷店

ALPJumpParam.h 955B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // ALPJumpParam.h
  3. // ALPLinkPartnerSDK
  4. //
  5. // Created by czp on 16/9/22.
  6. // Copyright © 2016年 czp. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "ALPError.h"
  10. //对应的linkKey
  11. FOUNDATION_EXTERN NSString *const kTaobaoLinkKey; //打开淘宝
  12. FOUNDATION_EXTERN NSString *const kTmallLinkKey; //打开天猫
  13. @interface ALPJumpParam : NSObject
  14. /**
  15. * 优先拉起的app,link协议key,linkKey为空,默认是拉起手淘
  16. */
  17. @property (nonatomic, copy) NSString *linkKey;
  18. /**
  19. * 返回的跳转地址(可选)
  20. */
  21. @property (nonatomic, copy) NSString *backURL;
  22. /**
  23. * 跳转时当前页面,用于坑位统计
  24. */
  25. @property (nonatomic, copy) NSString *currentViewName;
  26. /**
  27. * 额外参数(可选)
  28. */
  29. @property (nonatomic, strong) NSMutableDictionary *extraParam;
  30. - (ALPError *)isLegalParam;
  31. /**
  32. * 跳转是未安装跳转APP,对应的降级地址
  33. */
  34. - (NSString *)degradeToH5Url;
  35. @end