Package apple.photos

Class PHLivePhotoEditingContext

  • All Implemented Interfaces:
    NSObject

    public class PHLivePhotoEditingContext
    extends NSObject
    • Constructor Detail

      • PHLivePhotoEditingContext

        protected PHLivePhotoEditingContext​(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()
      • 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()
      • audioVolume

        public float audioVolume()
        Specify the audio volume of the edited live photo Must be between 0.0 and 1.0 Default to 1.0
      • cancel

        public void cancel()
        Cancel the current asynchronous operation This is implicitly called whenever prepare or save is called A canceled operation will call its completion handler with an appropriate error code
      • duration

        public CMTime duration()
        The duration of the live photo
      • fullSizeImage

        public CIImage fullSizeImage()
        The original full-size image from the input live photo
      • initWithLivePhotoEditingInput

        public PHLivePhotoEditingContext initWithLivePhotoEditingInput​(PHContentEditingInput livePhotoInput)
        Initializer from the specified live photo input Return nil if the specified input is not for a live photo
      • orientation

        public int orientation()
        The orientation of the live photo
      • photoTime

        public CMTime photoTime()
        The time of the still image within the live photo
      • setAudioVolume

        public void setAudioVolume​(float value)
        Specify the audio volume of the edited live photo Must be between 0.0 and 1.0 Default to 1.0
      • setFrameProcessor

        public void setFrameProcessor​(PHLivePhotoEditingContext.Block_setFrameProcessor value)
        A block that can be set to process each frame of the live photo Note that the context uses a copy of the processor block during processing