onComplete property

  1. @SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WindowsPlatform()])
DownloadJobCompletionHandler? onComplete
getter/setter pair

Called when the job completes, fails, or is canceled.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    WindowsPlatform(),
  ],
)
DownloadJobCompletionHandler? onComplete;