Class ALAssetRepresentation

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

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

      • ALAssetRepresentation

        public ALAssetRepresentation()
        Deprecated.
      • ALAssetRepresentation

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

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

      • getBytes

        public byte[] getBytes​(int offset,
                               int length)
                        throws NSErrorException
        Deprecated.
        Parameters:
        offset -
        length -
        Returns:
        Throws:
        NSErrorException
      • getUTI

        @Deprecated
        public java.lang.String getUTI()
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager for a PHAsset to request image data from the Photos framework and check the dataUTI passed to your result handler instead
        Since:
        Available in iOS 4.0 and later.
      • getDimensions

        @Deprecated
        public CGSize getDimensions()
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getSize

        @Deprecated
        public long getSize()
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getBytes

        @Deprecated
        protected long getBytes​(long buffer,
                                long offset,
                                long length,
                                NSError.NSErrorPtr error)
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getFullResolutionImage

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

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

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

        @Deprecated
        public NSURL getUrl()
        Deprecated.
        Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager instead
        Since:
        Available in iOS 4.0 and later.
      • getMetadata

        @Deprecated
        public CGImageProperties getMetadata()
        Deprecated.
        Deprecated in iOS 9.0. Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getOrientation

        @Deprecated
        public ALAssetOrientation getOrientation()
        Deprecated.
        Deprecated in iOS 9.0. Use the orientation of the UIImage returned for a PHAsset from the PHImageManager from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getScale

        @Deprecated
        public float getScale()
        Deprecated.
        Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead
        Since:
        Available in iOS 4.0 and later.
      • getFilename

        @Deprecated
        public java.lang.String getFilename()
        Deprecated.
        Deprecated in iOS 9.0. Use the Photos framework instead
        Since:
        Available in iOS 5.0 and later.