ZoomVideoSdkAudioHelper class

Audio control interface

Inheritance
  • Object
  • PlatformInterface
  • ZoomVideoSdkAudioHelper

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allowAudioUnmutedBySelf(bool allowUnmute) Future<String>
Allow the others unmute by themself or not. For host or manager. allowUnmute = true means allow the user unmute themself, otherwise false.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
canSwitchSpeaker() Future<bool>
Query is audio speaker enable.
Return true: enable false: disable (some pad not support telephony,or some device not support)
cleanAudioSession() Future<void>
getSpeakerStatus() Future<bool>
Get audio speaker status
Return true: speaker false: headset or earSpeaker
muteAllAudio(bool allowUnmute) Future<String>
Mute all user's audio except my self. allowUnmute = true means allow the user unmute themself, otherwise false.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
muteAudio(String userId) Future<String>
mute user's voip audio by userId
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetAudioSession() Future<bool>
setSpeaker(bool isOn) Future<void>
Set audio speaker
isOn = true if is speaker
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
startAudio() Future<String>
Start audio with voip
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
stopAudio() Future<String>
Stop voip
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
subscribe() Future<String>
subscribe audio raw data.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
toString() String
A string representation of this object.
inherited
unmuteAllAudio() Future<String>
Ask unmute all user's audio. Only host or manager can ask unmute all user's audio. This functinon will trigger the callback onHostAskUnmute().
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
unMuteAudio(String userId) Future<String>
unmute user's voip audio by userId
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.
unSubscribe() Future<String>
unsubscribe audio raw data
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Operators

operator ==(Object other) bool
The equality operator.
inherited