Class ALAssetsGroup

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class ALAssetsGroup
    extends NSObject
    Deprecated.
    API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use PHAssetCollection from the Photos framework instead
    • Constructor Detail

      • ALAssetsGroup

        protected ALAssetsGroup​(org.moe.natj.general.Pointer peer)
        Deprecated.
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static ALAssetsGroup allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
        Deprecated.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
        Deprecated.
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
        Deprecated.
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
        Deprecated.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
        Deprecated.
      • description_static

        public static java.lang.String description_static()
        Deprecated.
      • hash_static

        public static long hash_static()
        Deprecated.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
        Deprecated.
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
        Deprecated.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
        Deprecated.
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
        Deprecated.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
        Deprecated.
      • version_static

        public static long version_static()
        Deprecated.
      • addAsset

        @Deprecated
        public boolean addAsset​(ALAsset asset)
        Deprecated.
        Add an existing ALAsset to the group. An asset can belong to multiple ALAssetsGroups. The caller should check the editable property of the group to see if it is possible to add an asset to the group. Returns YES if the asset was added successfully. Returns NO if the group is not editable, or if the asset was not able to be added to the group. API-Since: 5.0 Deprecated-Since: 9.0 Deprecated-Message: Use addAssets: on a PHAssetCollectionChangeRequest: created from a PHAssetCollection in the Photos framework instead
      • enumerateAssetsAtIndexesOptionsUsingBlock

        @Deprecated
        public void enumerateAssetsAtIndexesOptionsUsingBlock​(NSIndexSet indexSet,
                                                              long options,
                                                              ALAssetsGroup.Block_enumerateAssetsAtIndexesOptionsUsingBlock enumerationBlock)
        Deprecated.
        API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
      • enumerateAssetsUsingBlock

        @Deprecated
        public void enumerateAssetsUsingBlock​(ALAssetsGroup.Block_enumerateAssetsUsingBlock enumerationBlock)
        Deprecated.
        These methods are used to retrieve the assets that match the filter. The caller can specify which results are returned using an NSIndexSet. The index set's count or lastIndex cannot exceed -numberOfAssets. 'enumerationBlock' is used to pass back results to the caller and provide the opportunity to stop the filter. When the enumeration is done, 'enumerationBlock' will be called with result set to nil and index set to NSNotFound. If the application has not been granted access to the data, 'enumerationBlock' will be called with result set to nil, index set to NSNotFound, and stop set to YES. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
      • enumerateAssetsWithOptionsUsingBlock

        @Deprecated
        public void enumerateAssetsWithOptionsUsingBlock​(long options,
                                                         ALAssetsGroup.Block_enumerateAssetsWithOptionsUsingBlock enumerationBlock)
        Deprecated.
        API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the PHFetchResult returned by fetchAssetsInAssetCollection:options: on PHAsset to enumerate the assets in an asset collection from the Photos framework instead
      • isEditable

        @Deprecated
        public boolean isEditable()
        Deprecated.
        Returns YES if the application is able to edit the group. Returns NO if the application is not able to edit the group. API-Since: 5.0 Deprecated-Since: 9.0 Deprecated-Message: Use canPerformEditOperation: on a PHAssetCollection from the Photos framework instead
      • numberOfAssets

        @Deprecated
        public long numberOfAssets()
        Deprecated.
        Get the number of assets in the group that match the filter. If no filter is set, it returns the count of all assets in the group. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: 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
      • posterImage

        @Deprecated
        public CGImageRef posterImage()
        Deprecated.
        Returns a CGImage of the poster photo for the group. The thumbnail will be in the correct orientation. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: 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.
        Set the ALAssetsFilter on the group to filter the group contents. This does not execute the filter. For that, -enumerateAssetsUsingBlock:doneBlock: or -numberOfAssets needs to be called. If no filter is set, the enumeration will return all the assets in the group. Only one filter is active at a time. Calling this method again resets the filter and does not affect any enumeration that may be in flight. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use fetchAssetsInAssetCollection:options: on PHAsset with a predicate in the PHFetchOptions from the Photos framework to filter the assets in an asset collection instead
      • valueForProperty

        @Deprecated
        public java.lang.Object valueForProperty​(java.lang.String property)
        Deprecated.
        Use this method to get information about the group. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use the class properties on a PHAssetCollection in the Photos framework instead
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.