Package apple.photos

Class PHImageRequestOptions

    • Constructor Detail

      • PHImageRequestOptions

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHImageRequestOptions 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)
      • superclass_static

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

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

        public long deliveryMode()
        delivery mode. Defaults to PHImageRequestOptionsDeliveryModeOpportunistic API-Since: 8.0
      • isNetworkAccessAllowed

        public boolean isNetworkAccessAllowed()
        if necessary will download the image from iCloud (client can monitor or cancel using progressHandler). Defaults to NO (see start/stopCachingImagesForAssets) API-Since: 8.0
      • setNetworkAccessAllowed

        public void setNetworkAccessAllowed​(boolean value)
        if necessary will download the image from iCloud (client can monitor or cancel using progressHandler). Defaults to NO (see start/stopCachingImagesForAssets) API-Since: 8.0
      • isSynchronous

        public boolean isSynchronous()
        return only a single result, blocking until available (or failure). Defaults to NO API-Since: 8.0
      • setSynchronous

        public void setSynchronous​(boolean value)
        return only a single result, blocking until available (or failure). Defaults to NO API-Since: 8.0
      • normalizedCropRect

        public CGRect normalizedCropRect()
        specify crop rectangle in unit coordinates of the original image, such as a face. Defaults to CGRectZero (not applicable) API-Since: 8.0
      • progressHandler

        @Nullable
        public @Nullable PHImageRequestOptions.Block_progressHandler_ret progressHandler()
        provide caller a way to be told how much progress has been made prior to delivering the data when it comes from iCloud. Defaults to nil, shall be set by caller API-Since: 8.0
      • resizeMode

        public long resizeMode()
        resize mode. Does not apply when size is PHImageManagerMaximumSize. Defaults to PHImageRequestOptionsResizeModeFast API-Since: 8.0
      • setDeliveryMode

        public void setDeliveryMode​(long value)
        delivery mode. Defaults to PHImageRequestOptionsDeliveryModeOpportunistic API-Since: 8.0
      • setNormalizedCropRect

        public void setNormalizedCropRect​(CGRect value)
        specify crop rectangle in unit coordinates of the original image, such as a face. Defaults to CGRectZero (not applicable) API-Since: 8.0
      • setProgressHandler

        public void setProgressHandler​(@Nullable
                                       @Nullable PHImageRequestOptions.Block_setProgressHandler value)
        provide caller a way to be told how much progress has been made prior to delivering the data when it comes from iCloud. Defaults to nil, shall be set by caller API-Since: 8.0
      • setResizeMode

        public void setResizeMode​(long value)
        resize mode. Does not apply when size is PHImageManagerMaximumSize. Defaults to PHImageRequestOptionsResizeModeFast API-Since: 8.0
      • setVersion

        public void setVersion​(long value)
        version API-Since: 8.0
      • version

        public long version()
        version API-Since: 8.0
      • allowSecondaryDegradedImage

        public boolean allowSecondaryDegradedImage()
        in addition to the initial degraded result, an additional degraded result will be returned if conditions permit API-Since: 17.0
      • setAllowSecondaryDegradedImage

        public void setAllowSecondaryDegradedImage​(boolean value)
        in addition to the initial degraded result, an additional degraded result will be returned if conditions permit API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.