Package org.robovm.apple.photos
Class PHLivePhotoEditingContext
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.photos.PHLivePhotoEditingContext
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PHLivePhotoEditingContext extends NSObject
- Since:
- Available in iOS 10.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPHLivePhotoEditingContext.PHLivePhotoEditingContextPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description protectedPHLivePhotoEditingContext()protectedPHLivePhotoEditingContext(NSObject.Handle h, long handle)protectedPHLivePhotoEditingContext(NSObject.SkipInit skipInit)PHLivePhotoEditingContext(PHContentEditingInput livePhotoInput) -
Method Summary
Modifier and Type Method Description voidcancel()floatgetAudioVolume()CMTimegetDuration()Block2<PHLivePhotoFrame,NSError.NSErrorPtr,CIImage>getFrameProcessor()CIImagegetFullSizeImage()CGImagePropertyOrientationgetOrientation()CMTimegetPhotoTime()protected longinit(PHContentEditingInput livePhotoInput)voidprepareLivePhotoForPlayback(CGSize targetSize, NSDictionary<NSString,?> options, VoidBlock2<PHLivePhoto,NSError> handler)voidsaveLivePhoto(PHContentEditingOutput output, NSDictionary<NSString,?> options, VoidBlock2<Boolean,NSError> handler)voidsetAudioVolume(float v)voidsetFrameProcessor(Block2<PHLivePhotoFrame,NSError.NSErrorPtr,CIImage> v)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
PHLivePhotoEditingContext
protected PHLivePhotoEditingContext() -
PHLivePhotoEditingContext
-
PHLivePhotoEditingContext
-
PHLivePhotoEditingContext
- Since:
- Available in iOS 10.0 and later.
-
-
Method Details
-
getFullSizeImage
- Since:
- Available in iOS 10.0 and later.
-
getDuration
- Since:
- Available in iOS 10.0 and later.
-
getPhotoTime
- Since:
- Available in iOS 10.0 and later.
-
getFrameProcessor
- Since:
- Available in iOS 10.0 and later.
-
setFrameProcessor
- Since:
- Available in iOS 10.0 and later.
-
getAudioVolume
public float getAudioVolume()- Since:
- Available in iOS 10.0 and later.
-
setAudioVolume
public void setAudioVolume(float v)- Since:
- Available in iOS 10.0 and later.
-
getOrientation
- Since:
- Available in iOS 10.0 and later.
-
init
- Since:
- Available in iOS 10.0 and later.
-
prepareLivePhotoForPlayback
public void prepareLivePhotoForPlayback(CGSize targetSize, NSDictionary<NSString,?> options, VoidBlock2<PHLivePhoto,NSError> handler)- Since:
- Available in iOS 10.0 and later.
-
saveLivePhoto
public void saveLivePhoto(PHContentEditingOutput output, NSDictionary<NSString,?> options, VoidBlock2<Boolean,NSError> handler)- Since:
- Available in iOS 10.0 and later.
-
cancel
public void cancel()- Since:
- Available in iOS 10.0 and later.
-