Package apple.assetslibrary.c
Class AssetsLibrary
- java.lang.Object
-
- apple.assetslibrary.c.AssetsLibrary
-
public final class AssetsLibrary extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringALAssetLibraryDeletedAssetGroupsKey()Deprecated.static java.lang.StringALAssetLibraryInsertedAssetGroupsKey()Deprecated.static java.lang.StringALAssetLibraryUpdatedAssetGroupsKey()Deprecated.static java.lang.StringALAssetLibraryUpdatedAssetsKey()Deprecated.static java.lang.StringALAssetPropertyAssetURL()Deprecated.static java.lang.StringALAssetPropertyDate()Deprecated.static java.lang.StringALAssetPropertyDuration()Deprecated.static java.lang.StringALAssetPropertyLocation()Deprecated.static java.lang.StringALAssetPropertyOrientation()Deprecated.static java.lang.StringALAssetPropertyRepresentations()Deprecated.static java.lang.StringALAssetPropertyType()Deprecated.static java.lang.StringALAssetPropertyURLs()Deprecated.static java.lang.StringALAssetsGroupPropertyName()Deprecated.static java.lang.StringALAssetsGroupPropertyPersistentID()Deprecated.static java.lang.StringALAssetsGroupPropertyType()Deprecated.static java.lang.StringALAssetsGroupPropertyURL()Deprecated.static java.lang.StringALAssetsLibraryChangedNotification()Deprecated.static java.lang.StringALAssetsLibraryErrorDomain()Deprecated.static java.lang.StringALAssetTypePhoto()Deprecated.static java.lang.StringALAssetTypeUnknown()Deprecated.static java.lang.StringALAssetTypeVideo()Deprecated.static java.lang.StringALErrorInvalidProperty()Deprecated.
-
-
-
Method Detail
-
ALAssetsLibraryChangedNotification
@Deprecated public static java.lang.String ALAssetsLibraryChangedNotification()
Deprecated.This notification will be sent when the contents of the ALAssetsLibrary have changed from under the app that is using the data. The API user should retain the library object to receive this notification. The userInfo may include the keys listed below, which identify specific ALAssets or ALAssetGroups that have become invalid and should be discarded. The values are NSSets of NSURLs which match the ALAssetPropertyURL and ALAssetsGroupPropertyURL properties. If the userInfo is nil, all ALAssets and ALAssetGroups should be considered invalid and discarded. Modified ALAssets will be identified by the ALAssetLibraryUpdatedAssetsKey, but inserted or deleted ALAssets are identified by invalidating the containing ALAssetGroups. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use photoLibraryDidChange: notification from the Photos framework instead
-
ALAssetLibraryUpdatedAssetsKey
@Deprecated public static java.lang.String ALAssetLibraryUpdatedAssetsKey()
Deprecated.API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use changeDetailsForFetchResult: and changeDetailsForObject: to get change details via the PHChange object included on photoLibraryDidChange: from the Photos framework instead
-
ALAssetLibraryInsertedAssetGroupsKey
@Deprecated public static java.lang.String ALAssetLibraryInsertedAssetGroupsKey()
Deprecated.API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use changeDetailsForFetchResult: and changeDetailsForObject: to get change details via the PHChange object included on photoLibraryDidChange: from the Photos framework instead
-
ALAssetLibraryUpdatedAssetGroupsKey
@Deprecated public static java.lang.String ALAssetLibraryUpdatedAssetGroupsKey()
Deprecated.API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use changeDetailsForFetchResult: and changeDetailsForObject: to get change details via the PHChange object included on photoLibraryDidChange: from the Photos framework instead
-
ALAssetLibraryDeletedAssetGroupsKey
@Deprecated public static java.lang.String ALAssetLibraryDeletedAssetGroupsKey()
Deprecated.API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use changeDetailsForFetchResult: and changeDetailsForObject: to get change details via the PHChange object included on photoLibraryDidChange: from the Photos framework instead
-
ALAssetsLibraryErrorDomain
@Deprecated public static java.lang.String ALAssetsLibraryErrorDomain()
Deprecated.Constant used by NSError to distinguish errors belonging to the AssetsLibrary domain API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the Photos framework instead
-
ALErrorInvalidProperty
@Deprecated public static java.lang.String ALErrorInvalidProperty()
Deprecated.API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHAsset class properties from the Photos framework instead
-
ALAssetPropertyType
@Deprecated public static java.lang.String ALAssetPropertyType()
Deprecated.An NSString that encodes the type of asset. One of ALAssetTypePhoto, ALAssetTypeVideo or ALAssetTypeUnknown. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the mediaType property on a PHAsset from the Photos framework instead
-
ALAssetPropertyLocation
@Deprecated public static java.lang.String ALAssetPropertyLocation()
Deprecated.CLLocation object with the location information of the asset. Only available if location services are enabled for the caller. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the location property on a PHAsset from the Photos framework instead
-
ALAssetPropertyDuration
@Deprecated public static java.lang.String ALAssetPropertyDuration()
Deprecated.Play time duration of a video asset expressed as a double wrapped in an NSNumber. For photos, kALErrorInvalidProperty is returned. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the duration property on a PHAsset from the Photos framework instead
-
ALAssetPropertyOrientation
@Deprecated public static java.lang.String ALAssetPropertyOrientation()
Deprecated.NSNumber containing an asset's orientation as defined by ALAssetOrientation. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the orientation of the UIImage returned for a PHAsset via the PHImageManager from the Photos framework instead
-
ALAssetPropertyDate
@Deprecated public static java.lang.String ALAssetPropertyDate()
Deprecated.An NSDate with the asset's creation date. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the creationDate property on a PHAsset from the Photos framework instead
-
ALAssetPropertyRepresentations
@Deprecated public static java.lang.String ALAssetPropertyRepresentations()
Deprecated.Array with all the representations available for a given asset (e.g. RAW, JPEG). It is expressed as UTIs. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
-
ALAssetPropertyURLs
@Deprecated public static java.lang.String ALAssetPropertyURLs()
Deprecated.Dictionary that maps asset representation UTIs to URLs that uniquely identify the asset. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
-
ALAssetPropertyAssetURL
@Deprecated public static java.lang.String ALAssetPropertyAssetURL()
Deprecated.An NSURL that uniquely identifies the asset API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the localIdentifier property on a PHAsset (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead
-
ALAssetTypePhoto
@Deprecated public static java.lang.String ALAssetTypePhoto()
Deprecated.The asset is a photo API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHAssetMediaTypeImage from the Photos framework instead
-
ALAssetTypeVideo
@Deprecated public static java.lang.String ALAssetTypeVideo()
Deprecated.The asset is a video API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHAssetMediaTypeVideo from the Photos framework instead
-
ALAssetTypeUnknown
@Deprecated public static java.lang.String ALAssetTypeUnknown()
Deprecated.The asset's type cannot be determined. It could be a sound file, a video or photo file that we don't know about, or something else. This is possible only for assets imported from a camera onto the device. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHAssetMediaTypeAudio for audio or PHAssetMediaTypeUnknown for unknown media types from the Photos framework instead
-
ALAssetsGroupPropertyName
@Deprecated public static java.lang.String ALAssetsGroupPropertyName()
Deprecated.An NSString with the name of the group API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the localizedTitle property on a PHAssetCollection from the Photos framework instead
-
ALAssetsGroupPropertyType
@Deprecated public static java.lang.String ALAssetsGroupPropertyType()
Deprecated.An ALAssetsGroupType wrapped in an NSNumber API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the assetCollectionType and assetCollectionSubtype properties on a PHAssetCollection from the Photos framework instead
-
ALAssetsGroupPropertyPersistentID
@Deprecated public static java.lang.String ALAssetsGroupPropertyPersistentID()
Deprecated.An NSString with the group's persistent ID. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the localIdentifier property on a PHAssetCollection from the Photos framework instead
-
ALAssetsGroupPropertyURL
@Deprecated public static java.lang.String ALAssetsGroupPropertyURL()
Deprecated.An NSURL that uniquely identifies the group API-Since: 5.0 Deprecated-Since: 9.0 Deprecated-Message: Use the localIdentifier property on a PHAssetCollection from the Photos framework, or to lookup PHAssetCollections by a previously known ALAssetsGroupPropertyURL use fetchAssetCollectionsWithALAssetGroupURLs:options: instead
-
-