Class ALAssetsLibrary

  • All Implemented Interfaces:
    NSObject

    public class ALAssetsLibrary
    extends NSObject
    • Constructor Detail

      • ALAssetsLibrary

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • authorizationStatus

        @Deprecated
        public static long authorizationStatus()
        Deprecated.
        Returns photo data authorization status for this application
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

        public static java.lang.String description_static()
      • disableSharedPhotoStreamsSupport

        @Deprecated
        public static void disableSharedPhotoStreamsSupport()
        Deprecated.
        Disable retrieval and notifications for Shared Photo Streams
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

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

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

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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long version_static()
      • addAssetsGroupAlbumWithNameResultBlockFailureBlock

        @Deprecated
        public void addAssetsGroupAlbumWithNameResultBlockFailureBlock​(java.lang.String name,
                                                                       ALAssetsLibrary.Block_addAssetsGroupAlbumWithNameResultBlockFailureBlock_1 resultBlock,
                                                                       ALAssetsLibrary.Block_addAssetsGroupAlbumWithNameResultBlockFailureBlock_2 failureBlock)
        Deprecated.
        Add a new ALAssetsGroup to the library. The name of the ALAssetsGroup is name and the type is ALAssetsGroupAlbum. The editable property of this ALAssetsGroup returns YES. If name conflicts with another ALAssetsGroup with the same name, then the group is not created and the result block returns a nil group. When the ALAssetsGroup is added, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
      • assetForURLResultBlockFailureBlock

        @Deprecated
        public void assetForURLResultBlockFailureBlock​(NSURL assetURL,
                                                       ALAssetsLibrary.Block_assetForURLResultBlockFailureBlock_1 resultBlock,
                                                       ALAssetsLibrary.Block_assetForURLResultBlockFailureBlock_2 failureBlock)
        Deprecated.
        Returns an ALAsset object in the result block for a URL previously retrieved from an ALAsset object. When the ALAsset is requested, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
      • enumerateGroupsWithTypesUsingBlockFailureBlock

        @Deprecated
        public void enumerateGroupsWithTypesUsingBlockFailureBlock​(long types,
                                                                   ALAssetsLibrary.Block_enumerateGroupsWithTypesUsingBlockFailureBlock_1 enumerationBlock,
                                                                   ALAssetsLibrary.Block_enumerateGroupsWithTypesUsingBlockFailureBlock_2 failureBlock)
        Deprecated.
        Get the list of groups that match the given types. Multiple types can be ORed together. The results are passed one by one to the caller by executing the enumeration block. When the enumeration is done, 'enumerationBlock' will be called with group set to nil. When groups are enumerated, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
      • groupForURLResultBlockFailureBlock

        @Deprecated
        public void groupForURLResultBlockFailureBlock​(NSURL groupURL,
                                                       ALAssetsLibrary.Block_groupForURLResultBlockFailureBlock_1 resultBlock,
                                                       ALAssetsLibrary.Block_groupForURLResultBlockFailureBlock_2 failureBlock)
        Deprecated.
        Returns an ALAssetsGroup object in the result block for a URL previously retrieved from an ALAssetsGroup object. When the ALAssetsGroup is requested, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
      • videoAtPathIsCompatibleWithSavedPhotosAlbum

        @Deprecated
        public boolean videoAtPathIsCompatibleWithSavedPhotosAlbum​(NSURL videoPathURL)
        Deprecated.