NEMeetingKit V4.24.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
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
74
80- (void)enableTurnOnMyVideoWhenJoinMeeting:(BOOL)enable;
81
86
92- (void)enableTurnOnMyAudioWhenJoinMeeting:(BOOL)enable;
93
98
103
108
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
139
145- (void)enableVirtualBackground:(BOOL)enable;
146
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
199
205- (void)enableFrontCameraMirror:(BOOL)enable;
206
211
217- (void)enableHDVideoMode:(BOOL)enable;
218
222- (NSNumber *_Nullable)getHDVideoModeEnabled;
223
229- (void)enableTransparentWhiteboard:(BOOL)enable;
230
235
240
244- (int)getBeautyFaceValue;
245
251- (void)setBeautyFaceValue:(int)value;
252
257
262
267
272
277
282
287
291- (BOOL)isCaptionsSupported;
292
297
302
307
311- (NSString *)getAppNotifySessionId;
312
317
323- (void)setCloudRecordConfig:(NECloudRecordConfig *)config;
324
329
335- (void)setChatMessageNotificationType:(NEChatMessageNotificationType)type;
336
341
347- (void)enableShowNameInVideo:(BOOL)enable;
348
354- (void)enableShowNotYetJoinedMembers:(BOOL)enable;
355
360
367- (void)setASRTranslationLanguage:(NSString *_Nullable)language
368 callback:(void (^)(NSInteger code, NSString *_Nullable message))callback;
369
373- (NSString *_Nullable)getASRTranslationLanguage;
374
381- (void)enableCaptionBilingual:(BOOL)enable
382 callback:(void (^)(NSInteger code, NSString *_Nullable message))callback;
383
388
395- (void)enableTranscriptionBilingual:(BOOL)enable
396 callback:
397 (void (^)(NSInteger code, NSString *_Nullable message))callback;
398
403
410- (void)enableAutoSilentOnLock:(BOOL)enable;
411
416
421- (void)setThemeMode:(NEMeetingThemeType)mode;
422
427
432- (void)addSettingsChangedListener:(id<NESettingsChangedListener>)listener;
433
438- (void)removeSettingsChangedListener:(id<NESettingsChangedListener>)listener;
439
445- (void)setTurnOnMyVideoWhenJoinMeeting:(BOOL)enabled
446 DEPRECATED_MSG_ATTRIBUTE(
447 "deprecated in 4.6.0, use enableTurnOnMyVideoWhenJoinMeeting: instead");
448
454- (void)setTurnOnMyAudioWhenJoinMeeting:(BOOL)enabled
455 DEPRECATED_MSG_ATTRIBUTE(
456 "deprecated in 4.6.0, use enableTurnOnMyAudioWhenJoinMeeting: instead");
457
463- (BOOL)isMeetingLiveEnabled DEPRECATED_MSG_ATTRIBUTE(
464 "deprecated in 4.6.0, use isMeetingLiveSupported instead");
465
471- (void)getHistoryMeetingItem:
472 (void (^)(NSInteger code, NSString *message, NSArray<NEHistoryMeetingItem *> *data))callback
473 DEPRECATED_MSG_ATTRIBUTE(
474 "deprecated in 4.6.0, use NEPreMeetingService getLocalHistoryMeetingList: instead");
481- (BOOL)isWhiteboardEnabled DEPRECATED_MSG_ATTRIBUTE(
482 "deprecated in 4.6.0, use isMeetingWhiteboardSupported instead");
483
489- (BOOL)isCloudRecordEnabled DEPRECATED_MSG_ATTRIBUTE(
490 "deprecated in 4.6.0, use isMeetingCloudRecordSupported instead");
491
497- (void)setBuiltinVirtualBackgrounds:(NSArray<NEMeetingVirtualBackground *> *)virtualBackgrounds
498 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.6.0, use setBuiltinVirtualBackgroundList: instead");
499
504- (NSArray<NEMeetingVirtualBackground *> *)getBuiltinVirtualBackgrounds DEPRECATED_MSG_ATTRIBUTE(
505 "deprecated in 4.6.0, use getBuiltinVirtualBackgroundList instead");
506
507@end
508
509NS_ASSUME_NONNULL_END
NEMeetingThemeType
定义 NEMeetingKitHeader.h:53
NEChatMessageNotificationType
定义 NEMeetingOptions.h:20
NEAudioAINSMode
定义 NEMeetingOptions.h:112
NEMeetingElapsedTimeDisplayType
定义 NEMeetingOptions.h:38
定义 NECloudRecordConfig.h:46
定义 NEMeetingInfo.h:14
定义 NEInterpretationConfig.h:13
定义 NESettingsService.h:30
NSString * path
定义 NESettingsService.h:34
定义 NEPreMeetingService.h:65
定义 NEScheduledMemberConfig.h:13
定义 NESettingsService.h:46
BOOL isShowNameInVideoEnabled()
BOOL isTransparentWhiteboardEnabled()
NEAudioAINSMode getAudioAINSMode()
BOOL isVirtualBackgroundSupported()
查询应用是否支持虚拟背景
BOOL isFrontCameraMirrorEnabled()
BOOL isTurnOnMyAudioWhenJoinMeetingEnabled()
BOOL isMeetingWhiteboardSupported()
BOOL isBeautyFaceSupported()
查询应用是否支持美颜
NEScheduledMemberConfig * getScheduledMemberConfig()
NECloudRecordConfig * getCloudRecordConfig()
BOOL isWaitingRoomSupported()
查询应用是否支持等候室
BOOL isTranscriptionBilingualEnabled()
NSString *_Nullable getASRTranslationLanguage()
"deprecated in 4.9.0, use getMeetingElapsedTimeDisplayType instead" DEPRECATED_MSG_ATTRIBUTE()
NSString * getCurrentVirtualBackground()
NEInterpretationConfig * getInterpretationConfig()
NSArray< NSString * > * getExternalVirtualBackgroundList()
NEMeetingElapsedTimeDisplayType getMeetingElapsedTimeDisplayType()
BOOL isAutoSilentOnLockEnabled()
NSNumber *_Nullable getHDVideoModeEnabled()
BOOL isCallOutRoomSystemDeviceSupported()
BOOL isVirtualBackgroundEnabled()
BOOL isAvatarUpdateSupported()
BOOL isCaptionBilingualEnabled()
NSArray< NSString * > * getBuiltinVirtualBackgroundList()
NEChatMessageNotificationType getChatMessageNotificationType()
BOOL isTranscriptionSupported()
BOOL isMeetingCloudRecordSupported()
BOOL isSpeakerSpotlightEnabled()
查询是否打开语音激励
BOOL isTurnOnMyVideoWhenJoinMeetingEnabled()
NEMeetingThemeType getThemeMode()
BOOL isMeetingChatSupported()
int getBeautyFaceValue()
获取当前美颜参数,关闭返回0
BOOL isNicknameUpdateSupported()
NSString * getAppNotifySessionId()
BOOL isMeetingLiveSupported()
BOOL isShowNotYetJoinedMembersEnabled()