Class ALAsset

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

@Deprecated
public class ALAsset
extends NSObject
Deprecated.
Deprecated in iOS 9.0. Use PHAsset from the Photos framework instead
  • Constructor Details

    • ALAsset

      public ALAsset()
      Deprecated.
    • ALAsset

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

      protected ALAsset​(NSObject.SkipInit skipInit)
      Deprecated.
  • Method Details

    • 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
    • isEditable

      @Deprecated public boolean isEditable()
      Deprecated.
      Deprecated in iOS 9.0. Use canPerformEditOperation: on a PHAsset from the Photos framework instead
    • getType

      public ALAssetType getType()
      Deprecated.
    • getLocation

      public CLLocation getLocation()
      Deprecated.
    • getDuration

      public double getDuration()
      Deprecated.
    • getOrientation

      public CGImagePropertyOrientation getOrientation()
      Deprecated.
    • getDate

      public NSDate getDate()
      Deprecated.
    • getRepresentations

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

      public Map<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
    • getValue

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

      @Deprecated public ALAssetRepresentation getDefaultRepresentation()
      Deprecated.
      Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
    • getRepresentation

      @Deprecated public ALAssetRepresentation getRepresentation​(String representationUTI)
      Deprecated.
      Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead
    • 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
    • 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
    • writeModifiedImageData

      @Deprecated public void writeModifiedImageData​(NSData imageData, CGImageProperties metadata, VoidBlock2<NSURL,​NSError> completionBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead
    • writeModifiedVideo

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

      @Deprecated public void setImageData​(NSData imageData, CGImageProperties metadata, VoidBlock2<NSURL,​NSError> completionBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use contentEditingOutput on a PHAssetChangeRequest from the Photos framework instead
    • setVideo

      @Deprecated public void setVideo​(NSURL videoPathURL, VoidBlock2<NSURL,​NSError> completionBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use contentEditingOutput on a PHAssetChangeRequest from the Photos framework instead