Platforms to show: All Mac Windows Linux Cross-Platform
PHPickerResultMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
When you get result objects in a real application and you like to allow more than a few pictures, you may need to manage the jobs to download:
- Have a queue for the result objects to be downloaded.
- Check what types are available on each.
- Download what you need, e.g. HEIC or JPEG representation.
- Have a timer to start downloads and make sure you have only a limited number of parallel downloads like e.g. 4.
- Monitor which downloads failed and keep the NSErrorMBS for logging them.
- Show progress dialog for the download, e.g. with our ProgressHUDMBS class.
- 4 properties
- property assetIdentifier as String
- property Handle as Integer
- property progressCurrent as Integer
- property progressTotal as Integer
- 5 methods
- method Constructor Private
- method Destructor
- method hasItemConformingToTypeIdentifier(typeIdentifier as string) as Boolean
- method loadFileRepresentationForTypeIdentifier(typeIdentifier as string, handler as LoadFileRepresentationCompletedMBS)
- method TypeIdentifiers as String()
- delegate LoadFileRepresentationCompletedMBS(File as FolderItem, error as NSErrorMBS, result as PHPickerResultMBS)
This class has no sub classes.
Some events using this class:
- PHPickerViewControllerMBS.didFinishPicking(Result() as PHPickerResultMBS)
Some examples using this class:
Blog Entries
- The Top 10 from the MBS Xojo Plugins in 2022
- News from the MBS Xojo Plugins Version 22.5
- MBS Xojo Plugins, version 22.5pr1
Release notes
- Version 22.5
- Added PHPickerViewControllerMBS, PHPickerConfigurationMBS, PHPickerFilterMBS, and PHPickerResultMBS classes.
The items on this page are in the following plugins: MBS iOS Plugin.
PHPickerFilterMBS - PHPickerViewControllerMBS