/*** @brief SDK宿主应用名称 - Host app name* 主要用于文案提示使用 - Mainly used for copywriting prompts*/- (NSString *)appName;/*** @brief SDK宿主平台版本 - Host app version* @return 返回的是小写字符串,例如1.0.0 - returns a lowercase string, such as 1.0.0*/- (NSString *)getAppVersion;/*** @brief SDK宿主平台的网络状态 - The network status of the host platform*/- (TMANetWorkStatus)getAppNetworkStatus;/*** @brief SDK宿主平台的机型信息 - SDK host platform model information*/- (NSString *)getAppIPhoneModel;/*** @brief SDK宿主平台设备信息 - SDK host platform device information* @return 格式 - format : {@"brand":@"iPhone",@"model":@"iPhone 11<iPhone12,1>",@"system":@"ios",@"platform":@"iOS 16.4.1"}*/- (NSDictionary *)getAppDeviceInfo;/*** @brief 获取宿主APP基础信息 - Get basic information of the host APP* @return 格式 - format : {@"SDKVersion":@"2.32.2",@"model":@"iPhone 11<iPhone12,1>",@"system":@"ios",@"platform":@"iOS 16.4.1"}*/- (NSDictionary *)getAppBaseInfo;/*** @brief 宿主设置的当前语言 - Get current language set by the app* @return 格式 - format : "zh-Hans"*/- (NSString *)getCurrentLocalLanguage;/*** @brief 宿主设置的当前主题 如果不实现此方法 那么getAppBaseInfo中返回的theme为系统主题 - The current theme set by the app. If this method is not implemented, the theme returned in getAppBaseInfo will be the system theme.*/- (NSString *)getAppTheme;/*** @brief 剪贴板频控 - Clipboard frequency control*/- (NSNumber *)getClipboardInterval;// 小程序最多保活的个数,默认是3// The maximum number of mini programs that can be kept alive, the default is 3- (NSInteger)maxMiniAppKeepAliveCount;// 设置桌面快捷方式宿主URL Scheme// Set desktop shortcut App URL Scheme- (NSString *)getAppScheme;
- (void)applet:(TMFMiniAppInfo *)appletInfo screenCaptureStatusChanged:(BOOL)isCapture atPagePath:(NSString *)pagePath;- (void)appletDidTakeScreenshot:(TMFMiniAppInfo *)appletInfo atPagePath:(NSString *)pagePath;- (nullable UIView *)appletCustomizeWatermarkView:(TMFMiniAppInfo *)appletInfo;
本页内容是否解决了您的问题?