Package apple.photos

Class PHAssetCollection

    • Constructor Detail

      • PHAssetCollection

        protected PHAssetCollection​(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)
      • 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()
      • fetchAssetCollectionsContainingAssetWithTypeOptions

        public static PHFetchResult<? extends PHAssetCollection> fetchAssetCollectionsContainingAssetWithTypeOptions​(PHAsset asset,
                                                                                                                     long type,
                                                                                                                     PHFetchOptions options)
        Smart Albums are not supported, only Albums and Moments
      • fetchAssetCollectionsWithALAssetGroupURLsOptions

        public static PHFetchResult<? extends PHAssetCollection> fetchAssetCollectionsWithALAssetGroupURLsOptions​(NSArray<? extends NSURL> assetGroupURLs,
                                                                                                                  PHFetchOptions options)
        assetGroupURLs are URLs retrieved from ALAssetGroup's ALAssetsGroupPropertyURL
      • fetchAssetCollectionsWithLocalIdentifiersOptions

        public static PHFetchResult<? extends PHAssetCollection> fetchAssetCollectionsWithLocalIdentifiersOptions​(NSArray<java.lang.String> identifiers,
                                                                                                                  PHFetchOptions options)
        Fetch asset collections of a single type matching the provided local identifiers (type is inferred from the local identifiers)
      • fetchAssetCollectionsWithTypeSubtypeOptions

        public static PHFetchResult<? extends PHAssetCollection> fetchAssetCollectionsWithTypeSubtypeOptions​(long type,
                                                                                                             long subtype,
                                                                                                             PHFetchOptions options)
        Fetch asset collections of a single type and subtype provided (use PHAssetCollectionSubtypeAny to match all subtypes)
      • 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()
      • transientAssetCollectionWithAssetFetchResultTitle

        public static PHAssetCollection transientAssetCollectionWithAssetFetchResultTitle​(PHFetchResult<? extends PHAsset> fetchResult,
                                                                                          java.lang.String title)
      • transientAssetCollectionWithAssetsTitle

        public static PHAssetCollection transientAssetCollectionWithAssetsTitle​(NSArray<? extends PHAsset> assets,
                                                                                java.lang.String title)
        These asset collections are only in-memory and are not persisted to disk
      • version_static

        public static long version_static()
      • approximateLocation

        public CLLocation approximateLocation()
      • assetCollectionSubtype

        public long assetCollectionSubtype()
      • assetCollectionType

        public long assetCollectionType()
      • endDate

        public NSDate endDate()
      • estimatedAssetCount

        public long estimatedAssetCount()
        These counts are just estimates; the actual count of objects returned from a fetch should be used if you care about accuracy. Returns NSNotFound if a count cannot be quickly returned.
      • localizedLocationNames

        public NSArray<java.lang.String> localizedLocationNames()
      • startDate

        public NSDate startDate()