cancelMediaUploadOrDownload method
dynamic
cancelMediaUploadOrDownload(
- String messageId
)
override
Implementation
@override
cancelMediaUploadOrDownload(String messageId) async {
try {
LogMessage.d("cancelMediaUploadOrDownload", messageId);
await mirrorFlyMethodChannel.invokeMethod('cancelMediaUploadOrDownload', {"messageId": messageId});
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}