NEMeetingKit V4.11.0
载入中...
搜索中...
未找到
NEMeetingKitHeader.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
5#import <Foundation/Foundation.h>
6#import <UIKit/UIKit.h>
7#import "NEAccountService.h"
11@import NERoomKit;
13@class NEMeetingService;
20
21NS_ASSUME_NONNULL_BEGIN
22
23typedef NS_ENUM(NSInteger, NEMeetingLanguage) {
27 AUTOMATIC, //"*"
31 CHINESE, //= "zh"
32
36 ENGLISH, //= "en"
37
41 JAPANESE //= "ja"
42
43};
44
48@interface NEMeetingKit : NSObject
49
55+ (instancetype)getInstance;
56
69- (void)initialize:(NEMeetingKitConfig *)config
70 callback:(void (^)(NSInteger code, NSString *message, NEMeetingCorpInfo *data))callback;
71
76- (BOOL)isInitialized;
77
85- (void)loginWithNEMeeting:(NSString *)account
86 password:(NSString *)password
87 callback:(NECallback)callback
88 DEPRECATED_MSG_ATTRIBUTE(
89 "deprecated in 4.6.0, use NEAccountService.loginByPassword:password:callback: instead");
90
98- (void)login:(NSString *)account
99 token:(NSString *)token
100 callback:(NECallback)callback DEPRECATED_MSG_ATTRIBUTE(
101 "deprecated in 4.6.0, use NEAccountService.loginByToken:token:callback: instead");
102
108- (void)tryAutoLogin:(NECallback)callback
109 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.6.0, use NEAccountService.tryAutoLogin: instead");
115- (void)logout:(NECallback)callback
116 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.6.0, use NEAccountService.logout: instead");
117
122
127
132
137
142
147
152
157
162
168- (void)addAuthListener:(id<NEMeetingAuthListener>)authListener
169 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.6.0, use NEAccountService.addListener: instead");
170
176- (void)removeAuthListener:(id<NEMeetingAuthListener>)authListener
177 DEPRECATED_MSG_ATTRIBUTE("use NEAccountService.removeListener: instead");
178
183- (void)addGlobalEventListener:(id<NEGlobalEventListener>)listener;
184
189- (void)removeGlobalEventListener:(id<NEGlobalEventListener>)listener;
190
197- (void)switchLanguage:(NEMeetingLanguage)language callback:(NECallback)callback;
198
203- (void)getSDKLogPath:(void (^)(NSString *path))callback;
204
209- (void)getAppNoticeTips:(void (^)(NSInteger code, NSString *message,
210 NEMeetingAppNoticeTips *data))callback;
211
219- (void)updateApnsToken:(NSData *)data
220 key:(NSString *_Nullable)key
221 callback:(void (^)(NSString *token))callback;
222
223@end
224
225NS_ASSUME_NONNULL_END
void(^ NECallback)(NSInteger resultCode, NSString *resultMessage, id resultData)
定义 NEMeetingKitDefine.h:17
NEMeetingLanguage
定义 NEMeetingKitHeader.h:23
@ AUTOMATIC
自动
定义 NEMeetingKitHeader.h:27
@ CHINESE
中文
定义 NEMeetingKitHeader.h:31
@ JAPANESE
日文
定义 NEMeetingKitHeader.h:41
@ ENGLISH
英文
定义 NEMeetingKitHeader.h:36
定义 NEAccountService.h:51
定义 NEContactsService.h:15
定义 NEFeedbackService.h:37
定义 NEMeetingAppNoticeTips.h:66
定义 NEMeetingCorpInfo.h:50
定义 NEMeetingInviteService.h:34
定义 NEMeetingKitConfig.h:13
定义 NEMeetingKitHeader.h:49
NEScreenSharingService * getScreenSharingService()
NEAccountService * getAccountService()
NEContactsService * getContactsService()
NESettingsService * getSettingsService()
NEMeetingInviteService * getMeetingInviteService()
NEPreMeetingService * getPreMeetingService()
BOOL isInitialized()
NEMeetingMessageChannelService * getMeetingMessageChannelService()
NEMeetingService * getMeetingService()
instancetype getInstance()
NEFeedbackService * getFeedbackService()
定义 NEMeetingMessageChannelService.h:220
定义 NEMeetingService.h:111
定义 NEPreMeetingService.h:65
定义 NEScreenSharingService.h:31
定义 NESettingsService.h:70