Package org.robovm.apple.imageio
Class CGImageSource
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.imageio.CGImageSource
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGImageSource extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGImageSource.CGImageSourcePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CGImageSource()
-
Method Summary
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 4.0 and later.
-
getTypeIdentifiers
public static java.util.List<java.lang.String> getTypeIdentifiers()
- Since:
- Available in iOS 4.0 and later.
-
create
public static CGImageSource create(CGDataProvider provider, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
create
public static CGImageSource create(NSData data, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
create
public static CGImageSource create(NSURL url, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
getType
public java.lang.String getType()
- Since:
- Available in iOS 4.0 and later.
-
getCount
public long getCount()
- Since:
- Available in iOS 4.0 and later.
-
getProperties
public CGImageProperties getProperties(CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
getProperties
public CGImageProperties getProperties(long index, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
getMetadata
public CGImageMetadata getMetadata(long index, CGImageSourceOptions options)
- Since:
- Available in iOS 7.0 and later.
-
createImage
public CGImage createImage(long index, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
removeCacheAtIndex
public void removeCacheAtIndex(long index)
- Since:
- Available in iOS 7.0 and later.
-
createThumbnail
public CGImage createThumbnail(long index, CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
createIncremental
public static CGImageSource createIncremental(CGImageSourceOptions options)
- Since:
- Available in iOS 4.0 and later.
-
updateData
public void updateData(NSData data, boolean isFinal)
- Since:
- Available in iOS 4.0 and later.
-
updateDataProvider
public void updateDataProvider(CGDataProvider provider, boolean isFinal)
- Since:
- Available in iOS 4.0 and later.
-
getStatus
public CGImageSourceStatus getStatus()
- Since:
- Available in iOS 4.0 and later.
-
getStatusAtIndex
public CGImageSourceStatus getStatusAtIndex(long index)
- Since:
- Available in iOS 4.0 and later.
-
getPrimaryImageIndex
public long getPrimaryImageIndex()
- Since:
- Available in iOS 12.0 and later.
-
copyAuxiliaryDataInfoAtIndex
public NSDictionary copyAuxiliaryDataInfoAtIndex(long index, java.lang.String auxiliaryImageDataType)
- Since:
- Available in iOS 11.0 and later.
-
-