Files
yinmeng-ios/xplan-ios/Main/IM/Login/XPIMLoginInterface.h
2021-10-21 12:01:21 +08:00

24 lines
501 B
Objective-C

//
// XPIMLoginInterface.h
// xplan-ios
//
// Created by 冯硕 on 2021/10/21.
//
#import <Foundation/Foundation.h>
#import "XPIMLoginDelegate.h"
NS_ASSUME_NONNULL_BEGIN
@protocol XPIMLoginInterface <NSObject>
///自动登录
- (void)autoLoginIm:(NSString *)account token:(NSString *)token;
///退出登录im
- (void)logoutIm;
///添加代理
- (void)addDelegate:(id<XPIMLoginDelegate>)delegate;
///移除代理
- (void)removeDelegate:(id<XPIMLoginDelegate>)delegate;
@end
NS_ASSUME_NONNULL_END