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