/*** @brief SDK Host app name - Host app name* Mainly for wording prompts - Mainly used for copywriting prompts*/- (NSString *)appName;/*** @brief SDK Host app version - Host app version* @return Returns a lowercase string, such as 1.0.0 - returns a lowercase string, such as 1.0.0*/- (NSString *)getAppVersion;/*** @brief Host platform's network status - The network status of the host platform*/- (TMANetWorkStatus)getAppNetworkStatus;/*** @brief SDK Host platform model information - SDK host platform model information*/- (NSString *)getAppIPhoneModel;/*** @brief SDK Host platform device information - SDK host platform device information* @return Format - format : {@"brand":@"iPhone",@"model":@"iPhone 11<iPhone12,1>",@"system":@"ios",@"platform":@"iOS 16.4.1"}*/- (NSDictionary *)getAppDeviceInfo;/*** @brief Get basic information of the host app - Get basic information of the host APP* @return Format - format : {@"SDKVersion":@"2.32.2",@"model":@"iPhone 11<iPhone12,1>",@"system":@"ios",@"platform":@"iOS 16.4.1"}*/- (NSDictionary *)getAppBaseInfo;/*** @brief Current language set by the host app - Get current language set by the app* @return Format - format : "zh-Hans"*/- (NSString *)getCurrentLocalLanguage;/*** @brief The current theme set by the host app. If this method is not implemented, the theme returned in getAppBaseInfo will be the system 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 - Clipboard frequency control*/- (NSNumber *)getClipboardInterval;// The maximum number of mini programs that can be kept alive is 3 by default.// The maximum number of mini programs that can be kept alive, the default is 3- (NSInteger)maxMiniAppKeepAliveCount;// Set desktop shortcut app 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;
Was this page helpful?