setMediaEncryption static method

dynamic setMediaEncryption({
  1. required bool enable,
})

Sets the media encryption status for the Mirrorfly chat platform.

The enable parameter specifies whether media encryption should be enabled or disabled. If enable is true, media encryption will be enabled. If false, media encryption will be disabled.

Example usage:

Mirrorfly.setMediaEncryption(enable: true);

Implementation

static setMediaEncryption({required bool enable}) {
  return FlyChatFlutterPlatform.instance.setMediaEncryption(enable);
}