Package apple.photos

Class PHFetchOptions

    • Constructor Detail

      • PHFetchOptions

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHFetchOptions 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()
      • copyWithZone

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

        public long fetchLimit()
        Limits the maximum number of objects returned in the fetch result, a value of 0 means no limit. Defaults to 0. API-Since: 9.0
      • includeAllBurstAssets

        public boolean includeAllBurstAssets()
        Whether hidden burst assets are included in fetch results. Defaults to NO API-Since: 8.0
      • includeAssetSourceTypes

        public long includeAssetSourceTypes()
        The asset source types included in the fetch results. Defaults to PHAssetSourceTypeNone. If set to PHAssetSourceTypeNone the asset source types included in the fetch results are inferred from the type of query performed (see PHAsset fetchAssetsWithOptions:) API-Since: 9.0
      • includeHiddenAssets

        public boolean includeHiddenAssets()
        Whether hidden assets are included in fetch results. Defaults to NO API-Since: 8.0
      • predicate

        @Nullable
        public @Nullable NSPredicate predicate()
        Some predicates / sorts may be suboptimal and we will log API-Since: 8.0
      • setFetchLimit

        public void setFetchLimit​(long value)
        Limits the maximum number of objects returned in the fetch result, a value of 0 means no limit. Defaults to 0. API-Since: 9.0
      • setIncludeAllBurstAssets

        public void setIncludeAllBurstAssets​(boolean value)
        Whether hidden burst assets are included in fetch results. Defaults to NO API-Since: 8.0
      • setIncludeAssetSourceTypes

        public void setIncludeAssetSourceTypes​(long value)
        The asset source types included in the fetch results. Defaults to PHAssetSourceTypeNone. If set to PHAssetSourceTypeNone the asset source types included in the fetch results are inferred from the type of query performed (see PHAsset fetchAssetsWithOptions:) API-Since: 9.0
      • setIncludeHiddenAssets

        public void setIncludeHiddenAssets​(boolean value)
        Whether hidden assets are included in fetch results. Defaults to NO API-Since: 8.0
      • setPredicate

        public void setPredicate​(@Nullable
                                 @Nullable NSPredicate value)
        Some predicates / sorts may be suboptimal and we will log API-Since: 8.0
      • setSortDescriptors

        public void setSortDescriptors​(@Nullable
                                       @Nullable NSArray<? extends NSSortDescriptor> value)
        API-Since: 8.0
      • setWantsIncrementalChangeDetails

        public void setWantsIncrementalChangeDetails​(boolean value)
        Whether the owner of this object is interested in incremental change details for the results of this fetch (see PHChange) Defaults to YES API-Since: 8.0
      • sortDescriptors

        @Nullable
        public @Nullable NSArray<? extends NSSortDescriptor> sortDescriptors()
        API-Since: 8.0
      • wantsIncrementalChangeDetails

        public boolean wantsIncrementalChangeDetails()
        Whether the owner of this object is interested in incremental change details for the results of this fetch (see PHChange) Defaults to YES API-Since: 8.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.