Package apple.photos

Class PHFetchResultChangeDetails<_ObjectType>

  • All Implemented Interfaces:
    NSObject

    public class PHFetchResultChangeDetails<_ObjectType>
    extends NSObject
    API-Since: 8.0
    • Constructor Detail

      • PHFetchResultChangeDetails

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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)
      • changeDetailsFromFetchResultToFetchResultChangedObjects

        public static <_ObjectType> PHFetchResultChangeDetails<?> changeDetailsFromFetchResultToFetchResultChangedObjects​(@NotNull
                                                                                                                          @NotNull PHFetchResult<? extends PHObject> fromResult,
                                                                                                                          @NotNull
                                                                                                                          @NotNull PHFetchResult<? extends PHObject> toResult,
                                                                                                                          @NotNull
                                                                                                                          @NotNull NSArray<? extends PHObject> changedObjects)
        Provides a "diff" between 2 PHFetchResult objects. API-Since: 8.0
      • 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()
      • changedIndexes

        @Nullable
        public @Nullable NSIndexSet changedIndexes()
        The indexes of the updated items, relative to the 'after' state of the fetch result returns nil if hasIncrementalChanges is NO API-Since: 8.0
      • changedObjects

        @NotNull
        public @NotNull NSArray<? extends PHObject> changedObjects()
        API-Since: 8.0
      • enumerateMovesWithBlock

        public void enumerateMovesWithBlock​(@NotNull
                                            @NotNull PHFetchResultChangeDetails.Block_enumerateMovesWithBlock handler)
        Enumerates the indexes of the moved items, relative to the 'before' state of the fetch result after applying the removedIndexes and insertedIndexes API-Since: 8.0
      • fetchResultAfterChanges

        @NotNull
        public @NotNull PHFetchResult<? extends PHObject> fetchResultAfterChanges()
        fetch result with the state of the fetched objects after this change API-Since: 8.0
      • fetchResultBeforeChanges

        @NotNull
        public @NotNull PHFetchResult<? extends PHObject> fetchResultBeforeChanges()
        fetch result with the state of the fetched objects before this change (returns the fetch result passed in to changeDetailsForFetchResult:) API-Since: 8.0
      • hasIncrementalChanges

        public boolean hasIncrementalChanges()
        YES if the changes to this fetch result are described by the removed/inserted/changed details. NO indicates that the scope of changes were too large and UI clients should do a full reload, incremental changes could not be provided API-Since: 8.0
      • hasMoves

        public boolean hasMoves()
        YES if there are moved items returns NO if hasIncrementalChanges is NO API-Since: 8.0
      • insertedIndexes

        @Nullable
        public @Nullable NSIndexSet insertedIndexes()
        The indexes of the inserted items, relative to the 'before' state of the fetch result after applying the removedIndexes returns nil if hasIncrementalChanges is NO API-Since: 8.0
      • insertedObjects

        @NotNull
        public @NotNull NSArray<? extends PHObject> insertedObjects()
        API-Since: 8.0
      • removedIndexes

        @Nullable
        public @Nullable NSIndexSet removedIndexes()
        The indexes of the removed items, relative to the 'before' state of the fetch result returns nil if hasIncrementalChanges is NO API-Since: 8.0
      • removedObjects

        @NotNull
        public @NotNull NSArray<? extends PHObject> removedObjects()
        API-Since: 8.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.