phizclip-uniapp-demo/finclip-uniapp-test/nativeplugins/MopSdk/ios/FinApplet.framework/Headers/FATAppletInfo.h

109 lines
2.7 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//
// FATAppletInfo.h
// FinApplet
//
// Created by Haley on 2019/3/27.
// Copyright © 2019 finogeeks. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FATConstant.h"
@interface FATAppletSimpleInfo : NSObject
/// 小程序id
@property (nonatomic, copy) NSString *appId;
@end
@interface FATAppletInfo : NSObject
/// 小程序id
@property (nonatomic, copy) NSString *appId;
/// 小程序开发者userId
@property (nonatomic, copy) NSString *userId;
/// 当前用户id小程序缓存信息会存储在以userId命名的不同目录下。
@property (nonatomic, copy) NSString *currentUserId;
/// 小程序的机构id
@property (nonatomic, copy) NSString *groupId;
/// 小程序图标的地址
@property (nonatomic, copy) NSString *appAvatar;
/// 离线小程序(本地小程序)设置的图标
@property (nonatomic, strong) UIImage *logoImage;
/// 小程序名称
@property (nonatomic, copy) NSString *appTitle;
/// 小程序描述
@property (nonatomic, copy) NSString *appDescription;
/// 小程序版本号
@property (nonatomic, copy) NSString *appVersion;
/// 小程序封面图
@property (nonatomic, copy) NSString *appThumbnail;
/// 小程序版本信息
@property (nonatomic, copy) NSString *versionDescription;
/// 小程序主体信息(机构名称)
@property (nonatomic, copy) NSString *groupName;
/// 小程序是否正在灰度
@property (nonatomic, assign) BOOL isGrayRelease;
/// 小程序版本索引
@property (nonatomic, strong) NSNumber *sequence;
/// 小程序是否已安装 (其实类似收藏)
@property (nonatomic, assign) BOOL installed;
/// 服务器地址
@property (nonatomic, copy) NSString *apiServer;
/**
小程序启动时的启动参数
*/
@property (nonatomic, copy) NSDictionary *startParams;
/**
小程序关联的微信信息
示例:
{
phoneUrl = "pages/phone/index";//获取用户手机时的授权页面
profileUrl = "pages/profile/index";//获取用户信息时的授权页面
wechatOriginId = "gh_13538b2951a0";//关联的微信id
}
需要先到小程序管理->我的小程序->详情->第三方管理填写关联的微信信息
*/
@property (nonatomic, copy) NSDictionary *wechatLoginInfo;
/**
* 小程序类型(线上版、体验版、临时版、审核版、开发版)
*/
@property (nonatomic, assign, readonly) FATAppletVersionType appletVersionType;
/**
小程序启动时使用的加密串
注意使用加密串打开的方式打开小程序才有否则为nil
*/
@property (nonatomic, copy) NSString *cryptInfo;
/**
自定义的scheme数组
*/
@property (nonatomic, strong) NSArray<NSString *> *schemes;
//权限提示
- (NSString *)appletVersionTypeName;
- (NSString *)appletVersionTypeEnv;
@end