updateMediaUploadStatus method
dynamic
updateMediaUploadStatus()
override
This method is used to update the media upload status.
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) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}