Class ALAssetsLibrary

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    @Deprecated
    public class ALAssetsLibrary
    extends NSObject
    Deprecated.
    Deprecated in iOS 9.0. Use PHPhotoLibrary from the Photos framework instead
    Since:
    Available in iOS 4.0 and later.
    • Constructor Detail

      • ALAssetsLibrary

        public ALAssetsLibrary()
        Deprecated.
      • ALAssetsLibrary

        protected ALAssetsLibrary​(NSObject.Handle h,
                                  long handle)
        Deprecated.
      • ALAssetsLibrary

        protected ALAssetsLibrary​(NSObject.SkipInit skipInit)
        Deprecated.
    • Method Detail

      • ChangedNotification

        @Deprecated
        public static NSString ChangedNotification()
        Deprecated.
        Deprecated in iOS 9.0. Use photoLibraryDidChange: notification from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • enumerateGroups

        @Deprecated
        public void enumerateGroups​(ALAssetsGroupType types,
                                    org.robovm.objc.block.VoidBlock2<ALAssetsGroup,​org.robovm.rt.bro.ptr.BooleanPtr> enumerationBlock,
                                    org.robovm.objc.block.VoidBlock1<NSError> failureBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use the PHFetchResult returned by one of the fetch... methods on PHAssetCollection from the Photos framework to enumerate asset collections instead
        Since:
        Available in iOS 4.0 and later.
      • getAsset

        @Deprecated
        public void getAsset​(NSURL assetURL,
                             org.robovm.objc.block.VoidBlock1<ALAsset> resultBlock,
                             org.robovm.objc.block.VoidBlock1<NSError> failureBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getGroup

        @Deprecated
        public void getGroup​(NSURL groupURL,
                             org.robovm.objc.block.VoidBlock1<ALAssetsGroup> resultBlock,
                             org.robovm.objc.block.VoidBlock1<NSError> failureBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use fetchAssetCollectionsWithLocalIdentifiers:options: on PHAssetCollection to fetch the asset collections by local identifier (or to lookup PHAssetCollections by a previously known ALAssetsGroupPropertyURL use fetchAssetCollectionsWithALAssetGroupURLs:options:) from the Photos framework instead
        Since:
        Available in iOS 5.0 and later.
      • addAssetsGroupAlbum

        @Deprecated
        public void addAssetsGroupAlbum​(java.lang.String name,
                                        org.robovm.objc.block.VoidBlock1<ALAssetsGroup> resultBlock,
                                        org.robovm.objc.block.VoidBlock1<NSError> failureBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use creationRequestForAssetCollectionWithTitle: on PHAssetCollectionChangeRequest from the Photos framework to create a new asset collection instead
        Since:
        Available in iOS 5.0 and later.
      • writeImageToSavedPhotosAlbum

        @Deprecated
        public void writeImageToSavedPhotosAlbum​(CGImage imageRef,
                                                 ALAssetOrientation orientation,
                                                 org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead
        Since:
        Available in iOS 4.0 and later.
      • writeImageToSavedPhotosAlbum

        @Deprecated
        public void writeImageToSavedPhotosAlbum​(CGImage imageRef,
                                                 CGImageProperties metadata,
                                                 org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead
        Since:
        Available in iOS 4.1 and later.
      • writeImageDataToSavedPhotosAlbum

        @Deprecated
        public void writeImageDataToSavedPhotosAlbum​(NSData imageData,
                                                     CGImageProperties metadata,
                                                     org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use creationRequestForAssetFromImageData: on PHAssetChangeRequest from the Photos framework to create a new asset instead
        Since:
        Available in iOS 4.1 and later.
      • writeVideoToSavedPhotosAlbum

        @Deprecated
        public void writeVideoToSavedPhotosAlbum​(NSURL videoPathURL,
                                                 org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use creationRequestForAssetFromVideoAtFilePath: on PHAssetChangeRequest from the Photos framework to create a new asset instead
        Since:
        Available in iOS 4.0 and later.
      • isVideoCompatibleWithSavedPhotosAlbum

        @Deprecated
        public boolean isVideoCompatibleWithSavedPhotosAlbum​(NSURL videoPathURL)
        Deprecated.
        Deprecated in iOS 9.0. Use isCompatibleWithSavedPhotosAlbum on AVAsset instead
        Since:
        Available in iOS 5.0 and later.
      • getAuthorizationStatus

        @Deprecated
        public static ALAuthorizationStatus getAuthorizationStatus()
        Deprecated.
        Deprecated in iOS 9.0. Use authorizationStatus on the shared PHPhotoLibrary from the Photos framework instead
        Since:
        Available in iOS 6.0 and later.
      • disableSharedPhotoStreamsSupport

        @Deprecated
        public static void disableSharedPhotoStreamsSupport()
        Deprecated.
        Deprecated in iOS 9.0. Use the Photos framework instead
        Since:
        Available in iOS 6.0 and later.