updateMediaUploadStatus method
dynamic
updateMediaUploadStatus()
override
Implementation
@override
updateMediaUploadStatus(String mediaMessageId, int progress, int uploadStatus,
num dataTransferred) async {
try {
await mirrorFlyMethodChannel.invokeMethod('updateMediaUploadStatus', {
"mediaMessageId": mediaMessageId,
"progress": progress,
"downloadStatus": uploadStatus,
"dataTransferred": dataTransferred
});
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}