@MarshalsPointer public static CGImagePropertyCanonData toObject(Class<CGImagePropertyCanonData> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new CGImagePropertyCanonData(o); } @MarshalsPointer
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setMakerCanonData(CGImagePropertyCanonData makerCanonData) { set(Keys.MakerCanonDictionary(), makerCanonData.getDictionary()); return this; } /**
public CGImagePropertyCanonData set(CGImagePropertyCanon property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) {
public <T extends NativeObject> T get(CGImagePropertyCanon key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyCanonData set(CGImagePropertyCanon key, NativeObject value) {
public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) { set(property, CFNumber.valueOf(value)); return this; }
public <T extends NativeObject> T get(CGImagePropertyCanon key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyCanonData set(CGImagePropertyCanon key, NativeObject value) {
@MarshalsPointer public static List<CGImagePropertyCanonData> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<CGImagePropertyCanonData> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new CGImagePropertyCanonData(o.get(i, CFDictionary.class))); } return list; } @MarshalsPointer
public CGImagePropertyCanonData set(CGImagePropertyCanon property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) {
@MarshalsPointer public static long toNative(List<CGImagePropertyCanonData> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CGImagePropertyCanonData i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
public <T extends NativeObject> T get(CGImagePropertyCanon key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyCanonData set(CGImagePropertyCanon key, NativeObject value) {
/** * @since Available in iOS 4.0 and later. */ public CGImagePropertyCanonData getMakerCanonData() { if (has(Keys.MakerCanonDictionary())) { CFDictionary val = get(Keys.MakerCanonDictionary(), CFDictionary.class); return new CGImagePropertyCanonData(val); } return null; } /**
public CGImagePropertyCanonData set(CGImagePropertyCanon property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) {
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setMakerCanonData(CGImagePropertyCanonData makerCanonData) { set(Keys.MakerCanonDictionary(), makerCanonData.getDictionary()); return this; } /**
@MarshalsPointer public static CGImagePropertyCanonData toObject(Class<CGImagePropertyCanonData> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new CGImagePropertyCanonData(o); } @MarshalsPointer
public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) { set(property, CFNumber.valueOf(value)); return this; }
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setMakerCanonData(CGImagePropertyCanonData makerCanonData) { set(Keys.MakerCanonDictionary(), makerCanonData.getDictionary()); return this; } /**