setMediaEncryption method
This method is used to set the media encryption.
Implementation
@override
setMediaEncryption(bool encryption) async {
try {
await mirrorFlyMethodChannel
.invokeMethod('setMediaEncryption', {"encryption": encryption});
} on PlatformException catch (e) {
LogMessage.d("Platform Exception ", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}