Platforms to show: All Mac Windows Linux Cross-Platform
Back to PHAssetResourceRequestOptionsMBS class.
PHAssetResourceRequestOptionsMBS.ProgressHandlerMBS(progress as double, tag as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
delegate | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If you request an asset resource whose data is not on the local device, and you have enabled downloading with the networkAccessAllowed property, Photos calls your block periodically to report progress.
progress: A floating-point value indicating the progress of the download. A value of 0.0 indicates that the download has just started, and a value of 1.0 indicates the download is complete.
Some methods using this delegate:
- PHAssetResourceRequestOptionsMBS.SetProgressHandler(ProgressHandler as ProgressHandlerMBS, tag as variant = nil)
- PHContentEditingInputRequestOptionsMBS.SetProgressHandler(ProgressHandler as ProgressHandlerMBS, tag as variant = nil)
- PHImageRequestOptionsMBS.SetProgressHandler(ProgressHandler as ProgressHandlerMBS, tag as variant = nil)
- PHLivePhotoRequestOptionsMBS.SetProgressHandler(ProgressHandler as ProgressHandlerMBS, tag as variant = nil)
- PHVideoRequestOptionsMBS.SetProgressHandler(ProgressHandler as ProgressHandlerMBS, tag as variant = nil)
- VNRecognizeTextRequestMBS.setProgressHandler(ProgressHandler as VNProgressHandlerMBS, tag as variant = nil)
The items on this page are in the following plugins: MBS Mac64bit Plugin.