开发版本-developer——01 first commit
This commit is contained in:
+52
@@ -0,0 +1,52 @@
|
||||
//
|
||||
// ALPJumpParam.h
|
||||
// ALPLinkPartnerSDK
|
||||
//
|
||||
// Created by czp on 16/9/22.
|
||||
// Copyright © 2016年 czp. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "ALPError.h"
|
||||
|
||||
//对应的linkKey
|
||||
FOUNDATION_EXTERN NSString *const kTaobaoLinkKey; //打开淘宝
|
||||
FOUNDATION_EXTERN NSString *const kTmallLinkKey; //打开天猫
|
||||
|
||||
@interface ALPJumpParam : NSObject
|
||||
|
||||
/**
|
||||
* 优先拉起的app,link协议key,linkKey为空,默认是拉起手淘
|
||||
*/
|
||||
@property (nonatomic, copy) NSString *linkKey;
|
||||
|
||||
/**
|
||||
* 返回的跳转地址(可选)
|
||||
*/
|
||||
@property (nonatomic, copy) NSString *backURL;
|
||||
|
||||
/**
|
||||
* 跳转时当前页面,用于坑位统计
|
||||
*/
|
||||
@property (nonatomic, copy) NSString *currentViewName;
|
||||
|
||||
/**
|
||||
* 额外参数(可选)
|
||||
*/
|
||||
@property (nonatomic, strong) NSMutableDictionary *extraParam;
|
||||
|
||||
|
||||
- (ALPError *)isLegalParam;
|
||||
|
||||
/**
|
||||
* 跳转是未安装跳转APP,对应的降级地址
|
||||
*/
|
||||
- (NSString *)degradeToH5Url;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user