public final class CGImageMetadataType
extends java.lang.Object
The XMP type for a CGImageMetadataTag
CGImageMetadataType defines a list of constants used to indicate
the type for a CGImageMetadataTag. If you are reading metadata, use the type
to determine how to interpret the CGImageMetadataTag's value. If you are
creating a CGImageMetadataTag, use the type to specify how the tag
should be serialized in XMP. String types have CFStringRef values, array
types have CFArray values, and structure types have CFDictionary values.
[@const] kCGImageMetadataTypeDefault The type will be interpretted based on the
CFType of the tag's value. This is only used when creating a new
CGImageMetadataTag - no existing tags should have this value. CFString
defaults to kCGImageMetadataTypeString, CFArray defaults to
kCGImageMetadataTypeArrayOrdered, and CFDictionary defaults to
kCGImageMetadataTypeStructure.
[@const] kCGImageMetadataTypeString A string value. CFNumber and CFBoolean
values will be converted to a string.
[@const] kCGImageMetadataTypeArrayUnordered An array where order does not matter.
Serialized in XMP as
| Modifier and Type | Field and Description |
|---|---|
static int |
AlternateArray |
static int |
AlternateText |
static int |
ArrayOrdered |
static int |
ArrayUnordered |
static int |
Default |
static int |
Invalid |
static int |
String |
static int |
Structure |
public static final int Invalid
public static final int Default
public static final int String
public static final int ArrayUnordered
public static final int ArrayOrdered
public static final int AlternateArray
public static final int AlternateText
public static final int Structure