Package org.robovm.apple.assetslibrary
Class ALAssetRepresentation
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.assetslibrary.ALAssetRepresentation
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
@Deprecated public class ALAssetRepresentation extends NSObject
Deprecated.Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager 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
ALAssetRepresentation.ALAssetRepresentationPtr
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 ALAssetRepresentation()
Deprecated.protected
ALAssetRepresentation(NSObject.Handle h, long handle)
Deprecated.protected
ALAssetRepresentation(NSObject.SkipInit skipInit)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getBytes(int offset, int length)
Deprecated.protected long
getBytes(long buffer, long offset, long length, NSError.NSErrorPtr error)
Deprecated.Deprecated in iOS 9.0.CGImage
getCGImage(CGImageSourceOptions options)
Deprecated.Deprecated in iOS 9.0.CGSize
getDimensions()
Deprecated.Deprecated in iOS 9.0.java.lang.String
getFilename()
Deprecated.Deprecated in iOS 9.0.CGImage
getFullResolutionImage()
Deprecated.Deprecated in iOS 9.0.CGImage
getFullScreenImage()
Deprecated.Deprecated in iOS 9.0.CGImageProperties
getMetadata()
Deprecated.Deprecated in iOS 9.0.ALAssetOrientation
getOrientation()
Deprecated.Deprecated in iOS 9.0.float
getScale()
Deprecated.Deprecated in iOS 9.0.long
getSize()
Deprecated.Deprecated in iOS 9.0.NSURL
getUrl()
Deprecated.Deprecated in iOS 9.0.java.lang.String
getUTI()
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
-
ALAssetRepresentation
public ALAssetRepresentation()
Deprecated.
-
ALAssetRepresentation
protected ALAssetRepresentation(NSObject.Handle h, long handle)
Deprecated.
-
ALAssetRepresentation
protected ALAssetRepresentation(NSObject.SkipInit skipInit)
Deprecated.
-
-
Method Detail
-
getBytes
public byte[] getBytes(int offset, int length) throws NSErrorException
Deprecated.- Parameters:
offset
-length
-- Returns:
- Throws:
NSErrorException
-
getUTI
@Deprecated public java.lang.String getUTI()
Deprecated.Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager for a PHAsset to request image data from the Photos framework and check the dataUTI passed to your result handler instead- Since:
- Available in iOS 4.0 and later.
-
getDimensions
@Deprecated public CGSize getDimensions()
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getSize
@Deprecated public long getSize()
Deprecated.Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getBytes
@Deprecated protected long getBytes(long buffer, long offset, long length, NSError.NSErrorPtr error)
Deprecated.Deprecated in iOS 9.0. Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getFullResolutionImage
@Deprecated public CGImage getFullResolutionImage()
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize PHImageManagerMaximumSize for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getCGImage
@Deprecated public CGImage getCGImage(CGImageSourceOptions options)
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getFullScreenImage
@Deprecated public CGImage getFullScreenImage()
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getUrl
@Deprecated public NSURL getUrl()
Deprecated.Deprecated in iOS 9.0. Use PHImageRequestOptions with the PHImageManager instead- Since:
- Available in iOS 4.0 and later.
-
getMetadata
@Deprecated public CGImageProperties getMetadata()
Deprecated.Deprecated in iOS 9.0. Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getOrientation
@Deprecated public ALAssetOrientation getOrientation()
Deprecated.Deprecated in iOS 9.0. Use the orientation of the UIImage returned for a PHAsset from the PHImageManager from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getScale
@Deprecated public float getScale()
Deprecated.Deprecated in iOS 9.0. Use requestImageForAsset:targetSize:contentMode:options:resultHandler: on PHImageManager to request a targetSize of image for a PHAsset from the Photos framework instead- Since:
- Available in iOS 4.0 and later.
-
getFilename
@Deprecated public java.lang.String getFilename()
Deprecated.Deprecated in iOS 9.0. Use the Photos framework instead- Since:
- Available in iOS 5.0 and later.
-
-