Package org.robovm.apple.imageio
Class CGImageMetadata
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.imageio.CGImageMetadata
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGImageMetadata extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGImageMetadata.CGImageMetadataPtr
-
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
CGImageMetadata()
-
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
-
registerNamespaceForPrefix
public boolean registerNamespaceForPrefix(CGImageMetadataNamespace xmlns, CGImageMetadataPrefix prefix) throws NSErrorException
- Parameters:
xmlns
-prefix
-- Returns:
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
registerNamespaceForPrefix
public boolean registerNamespaceForPrefix(CGImageMetadataNamespace xmlns, java.lang.String prefix) throws NSErrorException
- Parameters:
xmlns
-prefix
-- Returns:
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
registerNamespaceForPrefix
public boolean registerNamespaceForPrefix(java.lang.String xmlns, CGImageMetadataPrefix prefix) throws NSErrorException
- Parameters:
xmlns
-prefix
-- Returns:
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
getClassTypeID
public static long getClassTypeID()
-
create
public static CGImageMetadata create()
- Since:
- Available in iOS 7.0 and later.
-
createCopy
public static CGImageMetadata createCopy(CGImageMetadata metadata)
- Since:
- Available in iOS 7.0 and later.
-
getTags
public java.util.List<CGImageMetadataTag> getTags()
- Since:
- Available in iOS 7.0 and later.
-
getTagAtPath
public CGImageMetadataTag getTagAtPath(CGImageMetadataTag parent, java.lang.String path)
- Since:
- Available in iOS 7.0 and later.
-
getStringValueAtPath
public java.lang.String getStringValueAtPath(CGImageMetadataTag parent, java.lang.String path)
- Since:
- Available in iOS 7.0 and later.
-
registerNamespaceForPrefix
public boolean registerNamespaceForPrefix(java.lang.String xmlns, java.lang.String prefix) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
setTagAtPath
public boolean setTagAtPath(CGImageMetadataTag parent, java.lang.String path, CGImageMetadataTag tag)
- Since:
- Available in iOS 7.0 and later.
-
setValueAtPath
public boolean setValueAtPath(CGImageMetadataTag parent, java.lang.String path, CFType value)
- Since:
- Available in iOS 7.0 and later.
-
removeTagAtPath
public boolean removeTagAtPath(CGImageMetadataTag parent, java.lang.String path)
- Since:
- Available in iOS 7.0 and later.
-
enumerateTags
public void enumerateTags(java.lang.String rootPath, CGImageMetadataEnumerationOptions options, org.robovm.objc.block.VoidBlock2<java.lang.String,CGImageMetadataTag> block)
- Since:
- Available in iOS 7.0 and later.
-
createXMPData
public NSData createXMPData(NSDictionary options)
- Since:
- Available in iOS 7.0 and later.
-
createFromXMPData
public static CGImageMetadata createFromXMPData(NSData data)
- Since:
- Available in iOS 7.0 and later.
-
-