Package apple.photos

Class PHProjectChangeRequest

  • All Implemented Interfaces:
    NSObject

    public class PHProjectChangeRequest
    extends PHChangeRequest
    PHProjectChangeRequest can only be created or used within a -[PHPhotoLibrary performChanges:] or -[PHPhotoLibrary performChangesAndWait:] block.
    • Constructor Detail

      • PHProjectChangeRequest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • projectExtensionData

        public NSData projectExtensionData()
        The projectExtensionData property is intended for storage of compressed, project specific data only. Do not include things like rasterized images that can be locally cached in this data. The total size of stored data is limited to 1 MB. Attempting to store more data than allowed will result in an error.
      • removeAssets

        public void removeAssets​(NSFastEnumeration assets)
        Removes the specified assets from the project.
        Parameters:
        assets - A collection of PHAsset objects to be removed from the project.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setProjectExtensionData

        public void setProjectExtensionData​(NSData value)
        The projectExtensionData property is intended for storage of compressed, project specific data only. Do not include things like rasterized images that can be locally cached in this data. The total size of stored data is limited to 1 MB. Attempting to store more data than allowed will result in an error.
      • setProjectPreviewImage

        public void setProjectPreviewImage​(UIImage previewImage)
        Use this method to update the project preview visible in Photos. Extensions are expected to set a project preview: - In or after -[id beginProjectWithExtensionContext:projectInfo:]. - In or after -[id resumeProjectWithExtensionContext:projectInfo:] if -[PHProject hasProjectPreview] returns NO. - Whenever the project changes in a way that a new preview is needed.
        Parameters:
        previewImage - A rendered project preview, expected dimensions are 1024x1024.
      • setTitle

        public void setTitle​(java.lang.String value)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public java.lang.String title()
      • version_static

        public static long version_static()