Package apple.photos

Class PHAssetResourceCreationOptions

    • Constructor Detail

      • PHAssetResourceCreationOptions

        protected PHAssetResourceCreationOptions​(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)
      • 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
      • originalFilename

        @Nullable
        public @Nullable java.lang.String originalFilename()
        The filename for the resource. If not specified, one will be inferred from a fileURL if available, or else generated. API-Since: 9.0
      • setOriginalFilename

        public void setOriginalFilename​(@Nullable
                                        @Nullable java.lang.String value)
        The filename for the resource. If not specified, one will be inferred from a fileURL if available, or else generated. API-Since: 9.0
      • setShouldMoveFile

        public void setShouldMoveFile​(boolean value)
        When enabled, the file passed to the creation request will be moved into the photo library without duplicating the file data (the original file is removed if the asset is created successfully), otherwise a copy of the file is created from the original. Defaults to NO. Attempting to move a file that is open or hardlinked will fail. API-Since: 9.0
      • setUniformTypeIdentifier

        public void setUniformTypeIdentifier​(@Nullable
                                             @Nullable java.lang.String value)
        The uniform type identifier for the resource. If not specified, one will be inferred from the PHAssetResourceType. API-Since: 9.0
      • shouldMoveFile

        public boolean shouldMoveFile()
        When enabled, the file passed to the creation request will be moved into the photo library without duplicating the file data (the original file is removed if the asset is created successfully), otherwise a copy of the file is created from the original. Defaults to NO. Attempting to move a file that is open or hardlinked will fail. API-Since: 9.0
      • uniformTypeIdentifier

        @Nullable
        public @Nullable java.lang.String uniformTypeIdentifier()
        The uniform type identifier for the resource. If not specified, one will be inferred from the PHAssetResourceType. API-Since: 9.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.