bonus-material-app/nativeplugins/Mpaas-Scan/ios/mPaas.framework/Headers/MPaaSConfigInfo.h

36 lines
1.2 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.

//
// MPaaSConfigInfo.h
// APMPaaS
//
// Created by yangwei on 17/4/25.
// Copyright © 2017年 Alipay. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MPaaSConfigInfo : NSObject
/**
* 当前App的无线保镖图片是否需要区分平台。
* 设置为NO表示无线保镖SDK不需要区分平台使用默认的 yw_1222.jpg 安全图片;
* 设置为YES表示无线保镖SDK需要区分平台通过分配的 authCode来指定在当前App中使用的无线保镖安全图片并将图片设置为yw_1222_authCode.jpg
*
* 默认返回为NO。钱包中不需要关心
* mPaaS用户一般也不需要修改只有在 yw_1222.jpg 图片与其他平台发生冲突时(如同时使用 mPaaS与阿里百川相关服务需要在 category 中重写此方法返回YES来区分图片。
*
* @return 默认返回NO
*/
+ (BOOL)enableMPaaSAuthCode;
/**
* 获取设置无线保镖接口的authCode值
*
* 根据 < enableMPaaSAuthCode > 的返回值若为NO此方法返回nil若为 YES此方法返回 @"1000"
* 钱包中默认为nilmPaaS 用户根据需要重写 < enableMPaaSAuthCode > 方法
*
* @return 默认返回 nil
*/
+ (NSString *)openSecurityAuthCode;
@end