listenToFlexibleDownloadUpdate static method

Stream<PlayxDownloadInfo?> listenToFlexibleDownloadUpdate()

Monitor the state of an update in progress by registering a listener for install status updates. You can also provide a progress bar in the app's UI to inform users of the download's progress. returns stream of PlayxDownloadInfo current download progress value on success.

Implementation

static Stream<PlayxDownloadInfo?> listenToFlexibleDownloadUpdate() {
  return PlayxVersionUpdatePlatform.instance.getDownloadInfo();
}