Package org.robovm.apple.photos
Class PHLivePhoto
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.photos.PHLivePhoto
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class PHLivePhoto extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 9.1 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PHLivePhoto.PHLivePhotoPtr
-
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 Modifier and Type Field Description static int
RequestIDInvalid
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description PHLivePhoto()
PHLivePhoto(NSCoder decoder)
protected
PHLivePhoto(NSObject.Handle h, long handle)
protected
PHLivePhoto(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
cancelLivePhotoRequest(int requestID)
void
encode(NSCoder coder)
CGSize
getSize()
static java.lang.String
InfoCancelledKey()
static java.lang.String
InfoErrorKey()
static java.lang.String
InfoIsDegradedKey()
protected long
init(NSCoder decoder)
static int
requestLivePhoto(NSArray<NSURL> fileURLs, UIImage image, CGSize targetSize, PHImageContentMode contentMode, org.robovm.objc.block.VoidBlock2<PHLivePhoto,NSDictionary<?,?>> resultHandler)
static java.lang.String
ShouldRenderAtPlaybackTime()
static void
ShouldRenderAtPlaybackTime(java.lang.String v)
static boolean
supportsSecureCoding()
-
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
-
-
-
-
Field Detail
-
RequestIDInvalid
public static final int RequestIDInvalid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PHLivePhoto
public PHLivePhoto()
-
PHLivePhoto
protected PHLivePhoto(NSObject.Handle h, long handle)
-
PHLivePhoto
protected PHLivePhoto(NSObject.SkipInit skipInit)
-
PHLivePhoto
public PHLivePhoto(NSCoder decoder)
-
-
Method Detail
-
getSize
public CGSize getSize()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
InfoErrorKey
public static java.lang.String InfoErrorKey()
- Since:
- Available in iOS 9.1 and later.
-
InfoIsDegradedKey
public static java.lang.String InfoIsDegradedKey()
- Since:
- Available in iOS 9.1 and later.
-
InfoCancelledKey
public static java.lang.String InfoCancelledKey()
- Since:
- Available in iOS 9.1 and later.
-
ShouldRenderAtPlaybackTime
public static java.lang.String ShouldRenderAtPlaybackTime()
- Since:
- Available in iOS 11.0 and later.
-
ShouldRenderAtPlaybackTime
public static void ShouldRenderAtPlaybackTime(java.lang.String v)
- Since:
- Available in iOS 11.0 and later.
-
requestLivePhoto
public static int requestLivePhoto(NSArray<NSURL> fileURLs, UIImage image, CGSize targetSize, PHImageContentMode contentMode, org.robovm.objc.block.VoidBlock2<PHLivePhoto,NSDictionary<?,?>> resultHandler)
-
cancelLivePhotoRequest
public static void cancelLivePhotoRequest(int requestID)
-
init
protected long init(NSCoder decoder)
-
-