Package org.robovm.apple.photos
Class PHAssetChangeRequest
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.photos.PHAssetChangeRequest
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
PHAssetCreationRequest
public class PHAssetChangeRequest extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PHAssetChangeRequest.PHAssetChangeRequestPtr
-
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 PHAssetChangeRequest()
protected
PHAssetChangeRequest(long handle)
Deprecated.protected
PHAssetChangeRequest(NSObject.Handle h, long handle)
protected
PHAssetChangeRequest(NSObject.SkipInit skipInit)
PHAssetChangeRequest(PHAsset asset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(PHAsset asset)
static PHAssetChangeRequest
createImageAssetCreationRequest(NSURL fileURL)
static PHAssetChangeRequest
createImageAssetCreationRequest(UIImage image)
static PHAssetChangeRequest
createVideoAssetCreationRequest(NSURL fileURL)
static void
deleteAssets(NSFastEnumeration assets)
PHContentEditingOutput
getContentEditingOutput()
NSDate
getCreationDate()
CLLocation
getLocation()
PHObjectPlaceholder
getPlaceholderForCreatedAsset()
boolean
isFavorite()
boolean
isHidden()
void
revertAssetContentToOriginal()
void
setContentEditingOutput(PHContentEditingOutput v)
void
setCreationDate(NSDate v)
void
setFavorite(boolean v)
void
setHidden(boolean v)
void
setLocation(CLLocation 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
-
PHAssetChangeRequest
public PHAssetChangeRequest()
-
PHAssetChangeRequest
@Deprecated protected PHAssetChangeRequest(long handle)
Deprecated.
-
PHAssetChangeRequest
protected PHAssetChangeRequest(NSObject.Handle h, long handle)
-
PHAssetChangeRequest
protected PHAssetChangeRequest(NSObject.SkipInit skipInit)
-
PHAssetChangeRequest
public PHAssetChangeRequest(PHAsset asset)
-
-
Method Detail
-
getPlaceholderForCreatedAsset
public PHObjectPlaceholder getPlaceholderForCreatedAsset()
-
getCreationDate
public NSDate getCreationDate()
-
setCreationDate
public void setCreationDate(NSDate v)
-
getLocation
public CLLocation getLocation()
-
setLocation
public void setLocation(CLLocation v)
-
isFavorite
public boolean isFavorite()
-
setFavorite
public void setFavorite(boolean v)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean v)
-
getContentEditingOutput
public PHContentEditingOutput getContentEditingOutput()
-
setContentEditingOutput
public void setContentEditingOutput(PHContentEditingOutput v)
-
revertAssetContentToOriginal
public void revertAssetContentToOriginal()
-
createImageAssetCreationRequest
public static PHAssetChangeRequest createImageAssetCreationRequest(UIImage image)
-
createImageAssetCreationRequest
public static PHAssetChangeRequest createImageAssetCreationRequest(NSURL fileURL)
-
createVideoAssetCreationRequest
public static PHAssetChangeRequest createVideoAssetCreationRequest(NSURL fileURL)
-
deleteAssets
public static void deleteAssets(NSFastEnumeration assets)
-
create
protected static long create(PHAsset asset)
-
-