Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKSettingAudioController.h
Go to the documentation of this file.
1
2
3#import <Foundation/Foundation.h>
4#import <ZoomSDK/ZoomSDKErrors.h>
5NS_ASSUME_NONNULL_BEGIN
6
11@protocol ZoomSDKSettingTestAudioDelegate <NSObject>
12@optional
17- (void)onMicLevelChanged:(unsigned int)level;
22- (void)onSpeakerLevelChanged:(unsigned int)level;
27- (void)onMicTestStatusChanged:(ZoomSDKTestMicStatus)status;
32- (void)onSpeakerTestStatusChanged:(BOOL)isTesting;
33@end
34
39@protocol ZoomSDKSettingAudioDeviceDelegate <NSObject>
40@optional
45- (void)onMicDeviceStatusChanged:(ZoomSDKDeviceStatus)status;
50- (void)onSpeakerDeviceStatusChanged:(ZoomSDKDeviceStatus)status;
59@end
60
61
67{
68 id<ZoomSDKSettingTestAudioDelegate> _delegate;
70 NSString* _speakerID;
71}
75@property (nonatomic, readwrite, assign)BOOL isSpeakerInTesting;
76
80@property(nonatomic, assign, nullable)id<ZoomSDKSettingTestAudioDelegate> delegate;
81
87- (ZoomSDKError)SpeakerStartPlaying:(NSString*)deviceID;
93@end
94
100{
101 id<ZoomSDKSettingTestAudioDelegate> _delegate;
103 NSString* _microphoneID;
104}
108@property(nonatomic, assign, nullable)id<ZoomSDKSettingTestAudioDelegate> delegate;
114- (ZoomSDKError)startRecordingMic:(NSString*)deviceID;
135@end
136
137
142@interface ZoomSDKAudioSetting: NSObject
143{
146 id<ZoomSDKSettingAudioDeviceDelegate> _delegate;
147}
151@property(nonatomic, assign, nullable)id<ZoomSDKSettingAudioDeviceDelegate> delegate;
167- (NSArray*_Nullable)getAudioDeviceList:(BOOL)mic;
168
174- (float)getAudioDeviceVolume:(BOOL)mic;
175
182- (ZoomSDKError)setAudioDeviceVolume:(BOOL)mic Volume:(float)volume;
183
191- (ZoomSDKError)selectAudioDevice:(BOOL)mic DeviceID:(NSString *)deviceID DeviceName:(NSString*)deviceName;
192
198- (ZoomSDKError)enableStero:(BOOL)enable;
199
205- (ZoomSDKError)enableAutoJoinVoip:(BOOL)enable;
206
212- (ZoomSDKError)enableMuteMicJoinVoip:(BOOL)enable;
218- (ZoomSDKError)enablePushToTalk:(BOOL)enable;
219
225- (ZoomSDKError)disablePromptJoinAudioDialogWhenUse3rdPartyAudio:(BOOL)disable;
226
232
238
244- (ZoomSDKError)enableAutoAdjustMic:(BOOL)enable;
245
261
272
273
279- (ZoomSDKError)enableShowOriginalSoundOptionInMeetingUI:(BOOL)enable;
280
286
292
298- (ZoomSDKError)setEchoCancellationLevel:(ZoomSDKAudioEchoCancellationLevel)level;
309- (ZoomSDKError)enableEchoCancellation:(BOOL)enable;
310
316
322
328
334- (ZoomSDKError)setSuppressBackgroundNoise:(ZoomSDKSuppressBackgroundNoiseLevel)level;
335
341
347- (ZoomSDKError)enableAlwaysUseSeparateRingSpk:(BOOL)enable;
348
353- (NSArray *_Nullable)getRingSpkDeviceList;
354
360
366- (ZoomSDKError)setRingSpkVolume:(float)value;
367
373- (ZoomSDKError)setRingSpkDevice:(NSString*)deviceId;
374
380- (ZoomSDKError)setSyncHeadsetButtonStatus:(BOOL)enable;
381
387
393- (ZoomSDKError)setHighFideMusicMode:(BOOL)enable;
394
400
406- (ZoomSDKError)selectSameAudioDeviceAsSystem:(BOOL)mic;
407@end
408NS_ASSUME_NONNULL_END
ZoomSDKSuppressBackgroundNoiseLevel
Enumeration of background noise suppression levels. For more information, please visit https://suppor...
ZoomSDKDeviceStatus
Enumeration of device status.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKTestMicStatus
Enumeration of microphone test types.
ZoomSDKAudioEchoCancellationLevel
Enumeration of echo cancellation. For more information, please visit https://support....
Provides APIs to manage audio devices, audio volumes, and audio-related meeting features.
id< ZoomSDKSettingAudioDeviceDelegate > delegate
Delegate to receive audio device status changes.
id< ZoomSDKSettingAudioDeviceDelegate > _delegate
BOOL isSyncHeadsetButtonStatus()
Determines if sync buttons on headset option on or off.
ZoomSDKAudioEchoCancellationLevel getEchoCancellationLevel()
Gets echo cancellation level.
BOOL isEnableStereoOn()
Determines if stereophonic sound is enabled.
BOOL isSupportShowOriginalSoundOptionInMeetingUI()
Determines if the meeting supports show original sound option in meeting UI.
BOOL isEchoCancellationOn()
Determines if echo cancellation is enabled or not.
BOOL isTemporarilyUnmuteOn()
Sets whether to enable the feature that attendee can speak by pressing the Spacebar when he is muted.
ZoomSDKSettingTestSpeakerDeviceHelper * _speakerTestHelper
BOOL isAutoAdjustMicOn()
Determines if auto-adjust microphone is enabled or not.
BOOL isPromptJoinAudioDialogWhenUse3rdPartyAudioDisable()
Determines if the dialog pops up when user joins meeting with third party audio.
float getRingSpkVolume()
Gets the volume of audio device.
ZoomSDKSettingTestSpeakerDeviceHelper *_Nullable getSettingSpeakerTestHelper()
Gets the object of ZoomSDKSettingTestSpeakerDeviceHelper.
ZoomSDKSuppressBackgroundNoiseLevel getSuppressBackgroundNoiseLevel()
Gets the level of suppressed background noise.
BOOL isJoinAudioWhenJoinMeetingOn()
Determines if user joins meeting with audio on.
BOOL isAlwaysUseSeparateRingSpkOn()
Determines if used separate audio device to play ringtone simultaneously.
BOOL isMuteMicWhenJoinMeetingOn()
Determines if user joins meeting with microphone muted.
ZoomSDKSettingTestMicrophoneDeviceHelper *_Nullable getSettingMicrophoneTestHelper()
Gets the object of ZoomSDKSettingTestMicrophoneDeviceHelper.
NSArray *_Nullable getRingSpkDeviceList()
Gets use separate audio device to play ringtone simultaneously devices.
BOOL isHighFideMusicMode()
Determines if use high fidelity music model.
BOOL isShowOriginalSoundOptionInMeetingUIOn()
Determines if show original sound option in meeting UI is enabled or not.
BOOL isSupportPromptJoinAudioDialogWhenUse3rdPartyAudio()
Determines if the meeting supports to pop up the dialog when user joins meeting with third party audi...
ZoomSDKSettingTestMicrophoneDeviceHelper * _micTestHelper
BOOL isSupportEchoCancellation()
Determines if the meeting supports echo cancellation.
Helper class for testing microphone devices.
ZoomSDKError stopRecrodingMic()
Stops recording when testing microphone.
id< ZoomSDKSettingTestAudioDelegate > delegate
Delegate to receive audio testing events.
id< ZoomSDKSettingTestAudioDelegate > _delegate
ZoomSDKError stopPlayRecordedMic()
Stops playing recorded sounds when testing microphone.
ZoomSDKTestMicStatus getTestMicStatus()
Gets the status when testing microphone.
ZoomSDKError playRecordedMic()
Plays recorded sounds when testing microphone.
Helper class to test speaker devices.
id< ZoomSDKSettingTestAudioDelegate > delegate
Delegate to receive audio testing events.
BOOL isSpeakerInTesting
Indicates whether speaker testing is in progress.
ZoomSDKError SpeakerStopPlaying()
Stops playing when testing speaker.
id< ZoomSDKSettingTestAudioDelegate > _delegate
void onSelectedSpeakerDeviceChanged()
Notification that the selected speaker device is changed.
void onSelectedMicDeviceChanged()
Notification that the selected microphone device is changed.