public final class Photos
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PHInvalidAssetResourceDataRequestID |
static int |
PHInvalidImageRequestID |
static int |
PHLivePhotoRequestIDInvalid |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
PHContentEditingInputCancelledKey() |
static java.lang.String |
PHContentEditingInputErrorKey() |
static java.lang.String |
PHContentEditingInputResultIsInCloudKey()
Completion handler info dictionary keys
|
static java.lang.String |
PHImageCancelledKey()
key (NSNumber): result is not available because the request was cancelled
|
static java.lang.String |
PHImageErrorKey()
key (NSError): NSFileManager or iCloud Photo Library errors
|
static CGSize |
PHImageManagerMaximumSize()
Size to pass when requesting the original image or the largest rendered image available (resizeMode will be ignored)
|
static java.lang.String |
PHImageResultIsDegradedKey()
key (NSNumber): result is a degraded image (only with async requests), meaning other images will be sent unless the request is cancelled in the meanwhile (note that the other request may fail if, for example, data is not available locally and networkAccessAllowed was not specified)
|
static java.lang.String |
PHImageResultIsInCloudKey()
key (NSNumber): result is in iCloud, meaning a new request will need to get issued (with networkAccessAllowed set) to get the result
|
static java.lang.String |
PHImageResultRequestIDKey()
key (NSNumber): Request ID of the request for this result
|
static java.lang.String |
PHLivePhotoInfoCancelledKey()
key : NSNumber containing a BOOL, YES when the result handler is being called after the request has been cancelled.
|
static java.lang.String |
PHLivePhotoInfoErrorKey()
key : NSError decribing an error that has occurred while creating the live photo
|
static java.lang.String |
PHLivePhotoInfoIsDegradedKey()
key : NSNumber containing a BOOL, YES whenever the deivered live photo object does not contain all content required for full playback.
|
static java.lang.String |
PHLivePhotoShouldRenderAtPlaybackTime()
Indicates whether processing should happen at playback time
If set to NO (the default) the live photo will always be rendered before playback
If set to YES, the editing context might still choose to render first for performance reasons
This option is ignored by the saveLivePhotoToOutput method
|
static java.lang.String |
PHLocalIdentifiersErrorKey()
Array of NSString values representing local identifiers related to the specific error
|
static java.lang.String |
PHPhotosErrorDomain() |
public static final int PHLivePhotoRequestIDInvalid
public static final int PHInvalidImageRequestID
public static final int PHInvalidAssetResourceDataRequestID
public static java.lang.String PHLivePhotoInfoErrorKey()
public static java.lang.String PHLivePhotoInfoIsDegradedKey()
public static java.lang.String PHLivePhotoInfoCancelledKey()
public static java.lang.String PHContentEditingInputResultIsInCloudKey()
public static java.lang.String PHContentEditingInputCancelledKey()
public static java.lang.String PHContentEditingInputErrorKey()
public static java.lang.String PHLivePhotoShouldRenderAtPlaybackTime()
public static CGSize PHImageManagerMaximumSize()
public static java.lang.String PHImageResultIsInCloudKey()
public static java.lang.String PHImageResultIsDegradedKey()
public static java.lang.String PHImageResultRequestIDKey()
public static java.lang.String PHImageCancelledKey()
public static java.lang.String PHImageErrorKey()
public static java.lang.String PHPhotosErrorDomain()
public static java.lang.String PHLocalIdentifiersErrorKey()