muteVideo static method
Future<void>
muteVideo({
- required bool status,
- required dynamic flyCallBack(
- FlyResponse response
Mutes or unmutes the video during an ongoing call.
This method allows the user to mute or unmute the video during an ongoing call in the Mirrorfly SDK.
The status
parameter indicates whether the video should be muted (true
) or unmuted (false
).
The flyCallBack
parameter is a function that will be called upon completion of the operation.
It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.
Implementation
static Future<void> muteVideo(
{required bool status,
required Function(FlyResponse response) flyCallBack}) async {
return FlyChatFlutterPlatform.instance.muteVideo(status, flyCallBack);
}