Class ALAssetRepresentation

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

@Deprecated
public class ALAssetRepresentation
extends NSObject
Deprecated.
Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
  • Constructor Details

  • Method Details

    • getBytes

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

      @Deprecated public 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • getUrl

      @Deprecated public NSURL getUrl()
      Deprecated.
      Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager instead
    • 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
    • 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
    • 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
    • getFilename

      @Deprecated public String getFilename()
      Deprecated.
      Deprecated in iOS 9.0. Use the Photos framework instead