From 00c86cecee3c5a33e5c3f810db47a3ec542f5706 Mon Sep 17 00:00:00 2001 From: lpw Date: Mon, 15 Apr 2024 11:25:45 +0800 Subject: [PATCH] 提交3.18.0 --- frameworks/WASdkIntf.framework/Headers/WAIUser.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAIUser.h b/frameworks/WASdkIntf.framework/Headers/WAIUser.h index 69ffdbe..0076348 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAIUser.h +++ b/frameworks/WASdkIntf.framework/Headers/WAIUser.h @@ -15,6 +15,8 @@ -(int)getLoginFlowType; -(WAAppUser*)getAccountInfo; -(void)loginWithExtInfo:(NSString *)extInfo delegate:(id<WALoginDelegate>)delegate; +//传递平台,针对一种平台有多种登录方式,如weblogin,wa中的guest和wa登录 +-(void)loginPlatform:(NSString*)platform WithExtInfo:(NSString *)extInfo delegate:(id<WALoginDelegate>)delegate; -(void)logout; -(void)bindingAccountWithExtInfo:(NSString*)extInfo delegate:(id<WAAccountBindingDelegate>)delegate; -(void)bindingAccountWithPlatform:(NSString *const)platform bindingResult:(WABindingResult*)bindingResult extInfo:(NSString *)extInfo delegate:(id<WAAccountBindingDelegate>)delegate; @@ -44,6 +46,21 @@ - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options; - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url; +//当一个新的场景被创建时调用,可以在这个方法中配置场景。 +- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions API_AVAILABLE(ios(13.0)); +// 当场景被销毁时调用。 +- (void)sceneDidDisconnect:(UIScene *)scene API_AVAILABLE(ios(13.0)); +//当场景变成活跃状态时调用。 +- (void)sceneDidBecomeActive:(UIScene *)scene API_AVAILABLE(ios(13.0)); +//当场景将要变成非活跃状态时调用。 +- (void)sceneWillResignActive:(UIScene *)scene API_AVAILABLE(ios(13.0)); +//当应用程序即将进入前台时调用。 +- (void)sceneWillEnterForeground:(UIScene *)scene API_AVAILABLE(ios(13.0)); +//当应用程序进入后台时调用。 +- (void)sceneDidEnterBackground:(UIScene *)scene API_AVAILABLE(ios(13.0)); +//当别的APP通过URL地址,打开我们的app时调用 +- (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts API_AVAILABLE(ios(13.0)); +- (void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity API_AVAILABLE(ios(13.0)); -(void)loginWithResult:(WALoginResult*)result delegate:(id<WALoginDelegate>)delegate; -(void)loginWithResult:(WALoginResult*)result extInfo:(NSString*)extInfo delegate:(id<WALoginDelegate>)delegate; @@ -144,4 +161,10 @@ - (void)openGameReview:(void(^)(OpenGameReviewState status))block; +/*! +@discussion 弹出cmp修改同意内容弹框 + */ +- (void)showConsentPreferences; + + @end -- Gitblit v1.8.0