Platforms to show: All Mac Windows Linux Cross-Platform
Back to PHLivePhotoMBS class.
PHLivePhotoMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Should return true on MacOS 10.12 or newer.
PHLivePhotoMBS.cancelLivePhotoRequestWithRequestID(requestID as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
requestID: The numeric identifier of the request to be canceled.
When you use the requestLivePhotoWithResourceFileURLs method to asynchronously load a Live Photo from resource files, the method returns a numeric identifier for the request. To cancel the request before it completes, provide the identifier when calling the cancelLivePhotoRequestWithRequestID method.
PHLivePhotoMBS.PHLivePhotoInfoCancelledKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A Boolean value indicating whether the Live Photo loading request was canceled.
PHLivePhotoMBS.PHLivePhotoInfoErrorKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
An error that occurred while attempting to load the requested Live Photo.
PHLivePhotoMBS.PHLivePhotoInfoIsDegradedKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A Boolean value indicating whether the result Live Photo is a low-quality substitute for the requested Live Photo.
If true, the result parameter of your resultHandler block contains a still or low-quality Live Photo, and Photos will call your result delegate method again to provide the full motion and sound content of the Live Photo. If false, Photos has provided all possible data and will not call your result handler again.
PHLivePhotoMBS.requestLivePhotoWithResourceFileURLs(Files() as FolderItem, placeholderImage as NSImageMBS = nil, targetSize as CGSizeMBS, contentMode as Integer, theDelegate as RequestLivePhotoWithResourceFileURLsMBS, Tag as Variant = nil) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
fileURLs: An array of Folderitems containing the resource URLs that constitute a Live Photo, as obtained using the PHAssetResource class.
image: A static image to represent the Live Photo before its full content has been loaded and validated.
targetSize: The target size of Live Photo to be returned. Pass zero size to obtain the requested Live Photo at its original size.
contentMode: An option for how to fit the image to the aspect ratio of the requested size. For details, see PHLivePhotoMBS class.
See also:
PHLivePhotoMBS.requestLivePhotoWithResourceFileURLs(fileURLs() as String, placeholderImage as NSImageMBS = nil, targetSize as CGSizeMBS, contentMode as Integer, theDelegate as RequestLivePhotoWithResourceFileURLsMBS, Tag as Variant = nil) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
fileURLs: An array of Folderitems containing the resource URLs that constitute a Live Photo, as obtained using the PHAssetResource class.
image: A static image to represent the Live Photo before its full content has been loaded and validated.
targetSize: The target size of Live Photo to be returned. Pass zero size to obtain the requested Live Photo at its original size.
contentMode: An option for how to fit the image to the aspect ratio of the requested size. For details, see PHLivePhotoMBS class.
See also:
The items on this page are in the following plugins: MBS Mac64bit Plugin.