Class ALAssetsGroup

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

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

    • ALAssetsGroup

      public ALAssetsGroup()
      Deprecated.
    • ALAssetsGroup

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

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

    • isEditable

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

      public String getName()
      Deprecated.
    • getType

      public ALAssetsGroupType getType()
      Deprecated.
    • getPersistentID

      public String getPersistentID()
      Deprecated.
    • getURL

      public NSURL getURL()
      Deprecated.
    • getValue

      @Deprecated public NSObject getValue​(ALAssetsGroupProperty property)
      Deprecated.
      Deprecated in iOS 9.0. Use the class properties on a PHAssetCollection in the Photos framework instead
    • getPosterImage

      @Deprecated public CGImage getPosterImage()
      Deprecated.
      Deprecated in iOS 9.0. Use fetchKeyAssetsInAssetCollection:options: on PHAsset, then use the PHImageManager to request image data for key assets in the asset collection from the Photos framework instead
    • setAssetsFilter

      @Deprecated public void setAssetsFilter​(ALAssetsFilter filter)
      Deprecated.
      Deprecated in iOS 9.0. Use fetchAssetsInAssetCollection:options: on PHAsset with a predicate in the PHFetchOptions from the Photos framework to filter the assets in an asset collection instead
    • getNumberOfAssets

      @Deprecated public long getNumberOfAssets()
      Deprecated.
      Deprecated in iOS 9.0. Use the estimatedAssetCount on PHAssetCollection for a quick estimate of the total assets in a collection (or fetch the assets to get an exact value) from the Photos framework instead
    • enumerateAssets

      @Deprecated public void enumerateAssets​(VoidBlock3<ALAsset,​Long,​BooleanPtr> enumerationBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
    • enumerateAssets

      @Deprecated public void enumerateAssets​(NSEnumerationOptions options, VoidBlock3<ALAsset,​Long,​BooleanPtr> enumerationBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
    • enumerateAssets

      @Deprecated public void enumerateAssets​(NSIndexSet indexSet, NSEnumerationOptions options, VoidBlock3<ALAsset,​Long,​BooleanPtr> enumerationBlock)
      Deprecated.
      Deprecated in iOS 9.0. Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
    • addAsset

      @Deprecated public boolean addAsset​(ALAsset asset)
      Deprecated.
      Deprecated in iOS 9.0. Use addAssets: on a PHAssetCollectionChangeRequest: created from a PHAssetCollection in the Photos framework instead