ifish/Ifish/AlibcTradeSDK-3.1.1.96/Frameworks/AlibcTradeSDK.framework/Headers/AlibcTradeShowParams.h

61 lines
1.6 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* AlibcTradeShowParams.h
*
* 阿里百川电商
* 项目名称:阿里巴巴电商 AlibcTradeSDK
* 版本号3.1.1.96
* 发布时间2017-03-24
* 开发团队:阿里巴巴百川商业化团队
* 阿里巴巴电商SDK答疑群号1229144682(阿里旺旺)
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
*/
#import <Foundation/Foundation.h>
#import <AlibcTradeBiz/AlibcTradeBiz.h>
/**
* 打开页面的类型
*/
typedef NS_ENUM(NSUInteger, AlibcOpenType) {
/** 智能判断 */
AlibcOpenTypeAuto,
/** 强制跳手淘 */
AlibcOpenTypeNative,
/** 强制h5展示 */
AlibcOpenTypeH5
};
@interface AlibcTradeShowParams : NSObject
/**
* 是否为push方式打开新页面
* 当show page时传入自定义webview时,本参数没有实际意义
*
* NO : 在当前view controller上present新页面
* YES: 在传入的UINavigationController中push新页面
* 默认值:NO
*/
@property(nonatomic, assign) BOOL isNeedPush;
/**
* 打开页面的方式,详见AlibcOpenType
* 默认值:Auto
*/
@property(nonatomic, assign) AlibcOpenType openType;
/**
* 指定手淘回跳的地址跳转至isv指定的url
* 规则: tbopen${appkey}://xx.xx.xx
*/
@property(nonatomic, strong) NSString *backUrl;
/**
* applink使用优先拉起的linkKey手淘@"taobao_scheme"
*/
@property(nonatomic, strong) NSString *linkKey;
/**
* 跳手淘/天猫失败后的处理策略, 默认值为: AlibcNativeFailModeJumpH5
*/
@property(nonatomic, assign) AlibcNativeFailMode nativeFailMode;
@end