TapLogin-Unity/Plugins/iOS/TapLoginSDK.framework/Headers/TapLoginResultDelegate.h

29 lines
568 B
Objective-C

//
// TapLoginResultDelegate.h
// Pods-TDSLoginSource_Example
//
// Created by Bottle K on 2020/12/15.
//
#import <Foundation/Foundation.h>
#import <TapLoginSDK/AccountGlobalError.h>
#import <TapLoginSDK/TTSDKAccessToken.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TapLoginResultDelegate <NSObject>
/// 登录成功回调
/// @param token token对象
- (void)onLoginSuccess:(TTSDKAccessToken *)token;
/// 登录取消
- (void)onLoginCancel;
/// 登录失败
/// @param error 失败原因
- (void)onLoginError:(AccountGlobalError *)error;
@end
NS_ASSUME_NONNULL_END