Package apple.photos

Class PHFetchResult<_ObjectType>

  • All Implemented Interfaces:
    NSCopying, NSFastEnumeration, NSObject

    public class PHFetchResult<_ObjectType>
    extends NSObject
    implements NSCopying, NSFastEnumeration
    Accessing fetched results (fetches objects from the backing store in chunks on demand rather than all at once) Fetched objects will be kept in a cache and purged under memory pressure API-Since: 8.0
    • Constructor Detail

      • PHFetchResult

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHFetchResult<?> allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • 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)
      • classFallbacksForKeyedArchiver

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

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

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

        public static java.lang.String description_static()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • containsObject

        public boolean containsObject​(@NotNull
                                      _ObjectType anObject)
        API-Since: 8.0
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • count

        public long count()
        API-Since: 8.0
      • countByEnumeratingWithStateObjectsCount

        public long countByEnumeratingWithStateObjectsCount​(@NotNull
                                                            @NotNull org.moe.natj.general.ptr.VoidPtr state,
                                                            @NotNull
                                                            @NotNull org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
                                                            long len)
        Specified by:
        countByEnumeratingWithStateObjectsCount in interface NSFastEnumeration
      • countOfAssetsWithMediaType

        public long countOfAssetsWithMediaType​(long mediaType)
        API-Since: 8.0
      • firstObject

        @Nullable
        public _ObjectType firstObject()
        API-Since: 8.0
      • indexOfObject

        public long indexOfObject​(@NotNull
                                  _ObjectType anObject)
        API-Since: 8.0
      • indexOfObjectInRange

        public long indexOfObjectInRange​(@NotNull
                                         _ObjectType anObject,
                                         NSRange range)
        API-Since: 8.0
      • lastObject

        @Nullable
        public _ObjectType lastObject()
        API-Since: 8.0
      • objectAtIndex

        @NotNull
        public _ObjectType objectAtIndex​(long index)
        API-Since: 8.0
      • objectAtIndexedSubscript

        @NotNull
        public _ObjectType objectAtIndexedSubscript​(long idx)
        API-Since: 8.0
      • objectsAtIndexes

        @NotNull
        public @NotNull NSArray<_ObjectType> objectsAtIndexes​(@NotNull
                                                              @NotNull NSIndexSet indexes)
        API-Since: 8.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.