Class ALAsset

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

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

      • ALAsset

        public ALAsset()
        Deprecated.
      • ALAsset

        protected ALAsset​(NSObject.Handle h,
                          long handle)
        Deprecated.
    • Method Detail

      • getOriginalAsset

        @Deprecated
        public ALAsset getOriginalAsset()
        Deprecated.
        Deprecated in iOS 9.0. Use the PHImageRequestOptionsVersionOriginal or PHImageRequestOptionsVersionUnadjusted option in PHImageRequestOptions with the PHImageManager from the Photos framework instead
        Since:
        Available in iOS 5.0 and later.
      • isEditable

        @Deprecated
        public boolean isEditable()
        Deprecated.
        Deprecated in iOS 9.0. Use canPerformEditOperation: on a PHAsset from the Photos framework instead
        Since:
        Available in iOS 5.0 and later.
      • getLocation

        public CLLocation getLocation()
        Deprecated.
      • getDuration

        public double getDuration()
        Deprecated.
      • getDate

        public NSDate getDate()
        Deprecated.
      • getRepresentations

        public java.util.List<java.lang.String> getRepresentations()
        Deprecated.
      • getURLs

        public java.util.Map<java.lang.String,​NSURL> getURLs()
        Deprecated.
      • getAssetURL

        public NSURL getAssetURL()
        Deprecated.
      • getInvalidProperty

        @Deprecated
        public static NSString getInvalidProperty()
        Deprecated.
        Deprecated in iOS 9.0. Use PHAsset class properties from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getValue

        @Deprecated
        public NSObject getValue​(ALAssetProperty property)
        Deprecated.
        Deprecated in iOS 9.0. Use PHAsset class properties from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getDefaultRepresentation

        @Deprecated
        public ALAssetRepresentation getDefaultRepresentation()
        Deprecated.
        Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getRepresentation

        @Deprecated
        public ALAssetRepresentation getRepresentation​(java.lang.String representationUTI)
        Deprecated.
        Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getThumbnail

        @Deprecated
        public CGImage getThumbnail()
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a thumbnail sized image for a PHAsset from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getAspectRatioThumbnail

        @Deprecated
        public CGImage getAspectRatioThumbnail()
        Deprecated.
        Deprecated in iOS 9.0. Use the PHImageContentMode options to request thumbnail aspect ratio in PHImageRequestOptions with the PHImageManager
        Since:
        Available in iOS 5.0 and later.
      • writeModifiedImageData

        @Deprecated
        public void writeModifiedImageData​(NSData imageData,
                                           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 5.0 and later.
      • writeModifiedVideo

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

        @Deprecated
        public void setImageData​(NSData imageData,
                                 CGImageProperties metadata,
                                 org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use contentEditingOutput on a PHAssetChangeRequest from the Photos framework instead
        Since:
        Available in iOS 5.0 and later.
      • setVideo

        @Deprecated
        public void setVideo​(NSURL videoPathURL,
                             org.robovm.objc.block.VoidBlock2<NSURL,​NSError> completionBlock)
        Deprecated.
        Deprecated in iOS 9.0. Use contentEditingOutput on a PHAssetChangeRequest from the Photos framework instead
        Since:
        Available in iOS 5.0 and later.