isMuteVideosIfCallsMuted static method

Future<bool> isMuteVideosIfCallsMuted()

Checks if muting videos when calls are muted is enabled for Android platform (false by default).

Returns true if muting videos when calls are muted, otherwise false.

Implementation

static Future<bool> isMuteVideosIfCallsMuted() async {
  if (Platform.isAndroid) {
    return await _channel.invokeMethod('isMuteVideosIfCallsMuted');
  }
  return false;
}