setMediaEncryption method

  1. @override
dynamic setMediaEncryption(
  1. String encryption
)
override

Implementation

@override
setMediaEncryption(String encryption) async {
  try {
    await mirrorFlyMethodChannel
        .invokeMethod('setMediaEncryption', {"encryption": encryption});
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}