NEMeetingKit V4.17.0
载入中...
搜索中...
未找到
NESettingsService.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>
7#import "NEMeetingInfo.h"
10#import "NEMeetingService.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
18@protocol NESettingsChangedListener <NSObject>
19@optional
23- (void)onSettingsChanged;
24@end
25
29@interface NEMeetingVirtualBackground : NSObject
30
34@property(nonatomic, copy) NSString *path;
35
36@end
37
45@interface NESettingsService : NSObject
46
53- (void)enableShowMyMeetingElapseTime:(BOOL)enable
54 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.9.0, use setMeetingElapsedTimeDisplayType instead");
55
60- (BOOL)isShowMyMeetingElapseTimeEnabled DEPRECATED_MSG_ATTRIBUTE(
61 "deprecated in 4.9.0, use getMeetingElapsedTimeDisplayType instead");
62
68- (void)setMeetingElapsedTimeDisplayType:(NEMeetingElapsedTimeDisplayType)type;
69
73- (NEMeetingElapsedTimeDisplayType)getMeetingElapsedTimeDisplayType;
74
80- (void)enableTurnOnMyVideoWhenJoinMeeting:(BOOL)enable;
81
85- (BOOL)isTurnOnMyVideoWhenJoinMeetingEnabled;
86
92- (void)enableTurnOnMyAudioWhenJoinMeeting:(BOOL)enable;
93
97- (BOOL)isTurnOnMyAudioWhenJoinMeetingEnabled;
98
102- (BOOL)isMeetingLiveSupported;
103
107- (BOOL)isMeetingWhiteboardSupported;
108
112- (BOOL)isMeetingCloudRecordSupported;
113
119- (void)enableAudioAINS:(BOOL)enable
120 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.13.0, use enableAudioAINSMode instead");
121
125- (BOOL)isAudioAINSEnabled DEPRECATED_MSG_ATTRIBUTE(
126 "deprecated in 4.13.0, use getAudioAINSMode instead");
127
133- (void)enableAudioAINSMode:(NEAudioAINSMode)mode;
134
138- (NEAudioAINSMode)getAudioAINSMode;
139
145- (void)enableVirtualBackground:(BOOL)enable;
146
150- (BOOL)isVirtualBackgroundEnabled;
151
157- (void)setBuiltinVirtualBackgroundList:(NSArray<NSString *> *)pathList;
158
162- (NSArray<NSString *> *)getBuiltinVirtualBackgroundList;
163
169- (void)setExternalVirtualBackgroundList:(NSArray<NSString *> *)pathList;
170
174- (NSArray<NSString *> *)getExternalVirtualBackgroundList;
175
181- (void)setCurrentVirtualBackground:(NSString *)path;
182
186- (NSString *)getCurrentVirtualBackground;
187
193- (void)enableSpeakerSpotlight:(BOOL)enable;
194
198- (BOOL)isSpeakerSpotlightEnabled;
199
205- (void)enableFrontCameraMirror:(BOOL)enable;
206
210- (BOOL)isFrontCameraMirrorEnabled;
211
217- (void)enableTransparentWhiteboard:(BOOL)enable;
218
222- (BOOL)isTransparentWhiteboardEnabled;
223
227- (BOOL)isBeautyFaceSupported;
228
232- (int)getBeautyFaceValue;
233
239- (void)setBeautyFaceValue:(int)value;
240
244- (BOOL)isWaitingRoomSupported;
245
249- (BOOL)isVirtualBackgroundSupported;
250
254- (BOOL)isCallOutRoomSystemDeviceSupported;
255
259- (NEInterpretationConfig *)getInterpretationConfig;
260
264- (NEScheduledMemberConfig *)getScheduledMemberConfig;
265
269- (BOOL)isNicknameUpdateSupported;
270
274- (BOOL)isAvatarUpdateSupported;
275
279- (BOOL)isCaptionsSupported;
280
284- (BOOL)isTranscriptionSupported;
285
289- (BOOL)isGuestJoinSupported;
290
294- (BOOL)isMeetingChatSupported;
295
299- (NSString *)getAppNotifySessionId;
300
304- (NECloudRecordConfig *)getCloudRecordConfig;
305
311- (void)setCloudRecordConfig:(NECloudRecordConfig *)config;
312
316- (NEChatMessageNotificationType)getChatMessageNotificationType;
317
323- (void)setChatMessageNotificationType:(NEChatMessageNotificationType)type;
324
328- (BOOL)isShowNameInVideoEnabled;
329
335- (void)enableShowNameInVideo:(BOOL)enable;
336
342- (void)enableShowNotYetJoinedMembers:(BOOL)enable;
343
347- (BOOL)isShowNotYetJoinedMembersEnabled;
348
355- (void)setASRTranslationLanguage:(NSString *_Nullable)language
356 callback:(void (^)(NSInteger code, NSString *_Nullable message))callback;
357
361- (NSString *_Nullable)getASRTranslationLanguage;
362
369- (void)enableCaptionBilingual:(BOOL)enable
370 callback:(void (^)(NSInteger code, NSString *_Nullable message))callback;
371
375- (BOOL)isCaptionBilingualEnabled;
376
383- (void)enableTranscriptionBilingual:(BOOL)enable
384 callback:
385 (void (^)(NSInteger code, NSString *_Nullable message))callback;
386
390- (BOOL)isTranscriptionBilingualEnabled;
391
398- (void)enableAutoSilentOnLock:(BOOL)enable;
399
403- (BOOL)isAutoSilentOnLockEnabled;
404
409- (void)setThemeMode:(NEMeetingThemeType)mode;
410
414- (NEMeetingThemeType)getThemeMode;
415
420- (void)addSettingsChangedListener:(id<NESettingsChangedListener>)listener;
421
426- (void)removeSettingsChangedListener:(id<NESettingsChangedListener>)listener;
427
433- (void)setTurnOnMyVideoWhenJoinMeeting:(BOOL)enabled
434 DEPRECATED_MSG_ATTRIBUTE(
435 "deprecated in 4.6.0, use enableTurnOnMyVideoWhenJoinMeeting: instead");
436
442- (void)setTurnOnMyAudioWhenJoinMeeting:(BOOL)enabled
443 DEPRECATED_MSG_ATTRIBUTE(
444 "deprecated in 4.6.0, use enableTurnOnMyAudioWhenJoinMeeting: instead");
445
451- (BOOL)isMeetingLiveEnabled DEPRECATED_MSG_ATTRIBUTE(
452 "deprecated in 4.6.0, use isMeetingLiveSupported instead");
453
459- (void)getHistoryMeetingItem:
460 (void (^)(NSInteger code, NSString *message, NSArray<NEHistoryMeetingItem *> *data))callback
461 DEPRECATED_MSG_ATTRIBUTE(
462 "deprecated in 4.6.0, use NEPreMeetingService getLocalHistoryMeetingList: instead");
463
469- (BOOL)isWhiteboardEnabled DEPRECATED_MSG_ATTRIBUTE(
470 "deprecated in 4.6.0, use isMeetingWhiteboardSupported instead");
471
477- (BOOL)isCloudRecordEnabled DEPRECATED_MSG_ATTRIBUTE(
478 "deprecated in 4.6.0, use isMeetingCloudRecordSupported instead");
479
485- (void)setBuiltinVirtualBackgrounds:(NSArray<NEMeetingVirtualBackground *> *)virtualBackgrounds
486 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.6.0, use setBuiltinVirtualBackgroundList: instead");
487
492- (NSArray<NEMeetingVirtualBackground *> *)getBuiltinVirtualBackgrounds DEPRECATED_MSG_ATTRIBUTE(
493 "deprecated in 4.6.0, use getBuiltinVirtualBackgroundList instead");
494
495@end
496
497NS_ASSUME_NONNULL_END
NEMeetingThemeType
Definition NEMeetingKitHeader.h:48
NEChatMessageNotificationType
Definition NEMeetingOptions.h:19
NEAudioAINSMode
Definition NEMeetingOptions.h:93
NEMeetingElapsedTimeDisplayType
Definition NEMeetingOptions.h:37
Definition NECloudRecordConfig.h:46
Definition NEMeetingInfo.h:14
Definition NEInterpretationConfig.h:13
Definition NESettingsService.h:30
NSString * path
Definition NESettingsService.h:34
Definition NEPreMeetingService.h:65
Definition NEScheduledMemberConfig.h:13
Definition NESettingsService.h:46