PHLivePhotoRequestOptionsMBS delegates

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHLivePhotoRequestOptionsMBS class.

PHLivePhotoRequestOptionsMBS.ProgressHandlerMBS(progress as double, error as NSErrorMBS, byref stop as boolean, info as Dictionary, 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
A delegate that Photos calls periodically while downloading the Live Photo..

If you request a Live Photo whose data is not on the local device, and you have enabled downloading with the progressHandler property in PHLivePhotoRequestOptionsMBS class, Photos calls your block periodically to report progress and to allow you to cancel the download.

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.
error: An NSErrorMBS object describing an error that occurred when attempting to download the image, or nil if no errors have occurred.
stop: A Boolean value. To cancel the download, set stop to true inside the method.
info: A dictionary providing additional information about the status of the image request. See Image Result Info Keys for possible keys and values. For example, a true value for the key PHImageResultIsDegradedKey indicates that Photos may send the full-quality version of the image later, depending on the value of the image request’s deliveryMode property.

If this method is dispatched asynchronously to the main thread, the stop property doesn't work.

Some methods using this delegate:

The items on this page are in the following plugins: MBS Mac64bit Plugin.


💬 Ask a question or report a problem