observeAttachmentProgress static method

Stream<NIMAttachmentProgress> observeAttachmentProgress()

message attachment upload/download progress watcher

Implementation

static Stream<NIMAttachmentProgress> observeAttachmentProgress() {
  return NimCore.instance.messageService.onAttachmentProgress;
}