muteVideosIfCallsMuted static method

dynamic muteVideosIfCallsMuted(
  1. bool isMuteVideosIfCallsMuted
)

Mutes video if isMuteVideosIfCallsMuted is true for Android platform (false by default).

Implementation

static muteVideosIfCallsMuted(bool isMuteVideosIfCallsMuted) {
  if (Platform.isAndroid) {
    _channel.invokeMethod('muteVideosIfCallsMuted',
        {'isMuteVideosIfCallsMuted': isMuteVideosIfCallsMuted});
  }
}