onMediaStatusUpdated property

Stream get onMediaStatusUpdated

A stream that emits events when the status of a media message is updated.

This stream listens for updates related to media messages, such as when a media message is successfully uploaded, downloaded, or fails to transfer. Each event contains the updated status information of the media message. Use this stream to update your UI or perform actions upon receiving a media status update.

Usage example:

Mirrorfly.onMediaStatusUpdated.listen((mediaStatusUpdate) {
  // Handle the media status update
  print("Media status updated: $mediaStatusUpdate");
});

Implementation

static Stream<dynamic> get onMediaStatusUpdated =>
    FlyChatFlutterPlatform.instance.onMediaStatusUpdated;