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
,org.robovm.objc.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 class
PHLivePhotoEditingContext.PHLivePhotoEditingContextPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PHLivePhotoEditingContext()
protected
PHLivePhotoEditingContext(NSObject.Handle h, long handle)
protected
PHLivePhotoEditingContext(NSObject.SkipInit skipInit)
PHLivePhotoEditingContext(PHContentEditingInput livePhotoInput)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
float
getAudioVolume()
CMTime
getDuration()
org.robovm.objc.block.Block2<PHLivePhotoFrame,NSError.NSErrorPtr,CIImage>
getFrameProcessor()
CIImage
getFullSizeImage()
CGImagePropertyOrientation
getOrientation()
CMTime
getPhotoTime()
protected long
init(PHContentEditingInput livePhotoInput)
void
prepareLivePhotoForPlayback(CGSize targetSize, NSDictionary<NSString,?> options, org.robovm.objc.block.VoidBlock2<PHLivePhoto,NSError> handler)
void
saveLivePhoto(PHContentEditingOutput output, NSDictionary<NSString,?> options, org.robovm.objc.block.VoidBlock2<java.lang.Boolean,NSError> handler)
void
setAudioVolume(float v)
void
setFrameProcessor(org.robovm.objc.block.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, willChangeValues
-
-
-
-
Constructor Detail
-
PHLivePhotoEditingContext
protected PHLivePhotoEditingContext()
-
PHLivePhotoEditingContext
protected PHLivePhotoEditingContext(NSObject.Handle h, long handle)
-
PHLivePhotoEditingContext
protected PHLivePhotoEditingContext(NSObject.SkipInit skipInit)
-
PHLivePhotoEditingContext
public PHLivePhotoEditingContext(PHContentEditingInput livePhotoInput)
-
-
Method Detail
-
getFullSizeImage
public CIImage getFullSizeImage()
-
getDuration
public CMTime getDuration()
-
getPhotoTime
public CMTime getPhotoTime()
-
getFrameProcessor
public org.robovm.objc.block.Block2<PHLivePhotoFrame,NSError.NSErrorPtr,CIImage> getFrameProcessor()
-
setFrameProcessor
public void setFrameProcessor(org.robovm.objc.block.Block2<PHLivePhotoFrame,NSError.NSErrorPtr,CIImage> v)
-
getAudioVolume
public float getAudioVolume()
-
setAudioVolume
public void setAudioVolume(float v)
-
getOrientation
public CGImagePropertyOrientation getOrientation()
-
init
protected long init(PHContentEditingInput livePhotoInput)
-
prepareLivePhotoForPlayback
public void prepareLivePhotoForPlayback(CGSize targetSize, NSDictionary<NSString,?> options, org.robovm.objc.block.VoidBlock2<PHLivePhoto,NSError> handler)
-
saveLivePhoto
public void saveLivePhoto(PHContentEditingOutput output, NSDictionary<NSString,?> options, org.robovm.objc.block.VoidBlock2<java.lang.Boolean,NSError> handler)
-
cancel
public void cancel()
-
-