allowAudioUnmutedBySelf method

  1. @override
Future<String> allowAudioUnmutedBySelf(
  1. bool allowUnmute
)

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.

Implementation

@override
Future<String> allowAudioUnmutedBySelf(bool allowUnmute) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("allowUnmute", () => allowUnmute);

  return await methodChannel
      .invokeMethod<String>('allowAudioUnmutedBySelf', params)
      .then<String>((String? value) => value ?? "");
}