Package org.robovm.apple.assetslibrary
Class ALAsset
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.assetslibrary.ALAsset
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
@Deprecated public class ALAsset extends NSObject
Deprecated.Deprecated in iOS 9.0. Use PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ALAsset.ALAssetPtr
Deprecated.-
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 ALAsset()
Deprecated.protected
ALAsset(NSObject.Handle h, long handle)
Deprecated.protected
ALAsset(NSObject.SkipInit skipInit)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CGImage
getAspectRatioThumbnail()
Deprecated.Deprecated in iOS 9.0.NSURL
getAssetURL()
Deprecated.NSDate
getDate()
Deprecated.ALAssetRepresentation
getDefaultRepresentation()
Deprecated.Deprecated in iOS 9.0.double
getDuration()
Deprecated.static NSString
getInvalidProperty()
Deprecated.Deprecated in iOS 9.0.CLLocation
getLocation()
Deprecated.CGImagePropertyOrientation
getOrientation()
Deprecated.ALAsset
getOriginalAsset()
Deprecated.Deprecated in iOS 9.0.ALAssetRepresentation
getRepresentation(java.lang.String representationUTI)
Deprecated.Deprecated in iOS 9.0.java.util.List<java.lang.String>
getRepresentations()
Deprecated.CGImage
getThumbnail()
Deprecated.Deprecated in iOS 9.0.ALAssetType
getType()
Deprecated.java.util.Map<java.lang.String,NSURL>
getURLs()
Deprecated.NSObject
getValue(ALAssetProperty property)
Deprecated.Deprecated in iOS 9.0.boolean
isEditable()
Deprecated.Deprecated in iOS 9.0.void
setImageData(NSData imageData, CGImageProperties metadata, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0.void
setVideo(NSURL videoPathURL, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0.void
writeModifiedImageData(NSData imageData, CGImageProperties metadata, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0.void
writeModifiedVideo(NSURL videoPathURL, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0.-
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
-
ALAsset
public ALAsset()
Deprecated.
-
ALAsset
protected ALAsset(NSObject.Handle h, long handle)
Deprecated.
-
ALAsset
protected ALAsset(NSObject.SkipInit skipInit)
Deprecated.
-
-
Method Detail
-
getOriginalAsset
@Deprecated public ALAsset getOriginalAsset()
Deprecated.Deprecated in iOS 9.0. Use the PHImageRequestOptionsVersionOriginal or PHImageRequestOptionsVersionUnadjusted option in PHImageRequestOptions with the PHImageManager from the Photos framework instead- Since:
- Available in iOS 5.0 and later.
-
isEditable
@Deprecated public boolean isEditable()
Deprecated.Deprecated in iOS 9.0. Use canPerformEditOperation: on a PHAsset from the Photos framework instead- Since:
- Available in iOS 5.0 and later.
-
getType
public ALAssetType getType()
Deprecated.
-
getLocation
public CLLocation getLocation()
Deprecated.
-
getDuration
public double getDuration()
Deprecated.
-
getOrientation
public CGImagePropertyOrientation getOrientation()
Deprecated.
-
getDate
public NSDate getDate()
Deprecated.
-
getRepresentations
public java.util.List<java.lang.String> getRepresentations()
Deprecated.
-
getURLs
public java.util.Map<java.lang.String,NSURL> getURLs()
Deprecated.
-
getAssetURL
public NSURL getAssetURL()
Deprecated.
-
getInvalidProperty
@Deprecated public static NSString getInvalidProperty()
Deprecated.Deprecated in iOS 9.0. Use PHAsset class properties from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getValue
@Deprecated public NSObject getValue(ALAssetProperty property)
Deprecated.Deprecated in iOS 9.0. Use PHAsset class properties from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getDefaultRepresentation
@Deprecated public ALAssetRepresentation getDefaultRepresentation()
Deprecated.Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getRepresentation
@Deprecated public ALAssetRepresentation getRepresentation(java.lang.String representationUTI)
Deprecated.Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getThumbnail
@Deprecated public CGImage getThumbnail()
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a thumbnail sized image for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getAspectRatioThumbnail
@Deprecated public CGImage getAspectRatioThumbnail()
Deprecated.Deprecated in iOS 9.0. Use the PHImageContentMode options to request thumbnail aspect ratio in PHImageRequestOptions with the PHImageManager- Since:
- Available in iOS 5.0 and later.
-
writeModifiedImageData
@Deprecated public void writeModifiedImageData(NSData imageData, CGImageProperties metadata, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0. Use creationRequestForAssetFromImage: on PHAssetChangeRequest from the Photos framework to create a new asset instead- Since:
- Available in iOS 5.0 and later.
-
writeModifiedVideo
@Deprecated public void writeModifiedVideo(NSURL videoPathURL, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0. Use creationRequestForAssetFromVideoAtFileURL: on PHAssetChangeRequest from the Photos framework to create a new asset instead- Since:
- Available in iOS 5.0 and later.
-
setImageData
@Deprecated public void setImageData(NSData imageData, CGImageProperties metadata, org.robovm.objc.block.VoidBlock2<NSURL,NSError> completionBlock)
Deprecated.Deprecated in iOS 9.0. Use contentEditingOutput on a PHAssetChangeRequest from the Photos framework instead- Since:
- Available in iOS 5.0 and later.
-
-