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