/** * @since Available in iOS 4.0 and later. */ @SuppressWarnings("unchecked") public void setAttributes(CVImageBufferAttributes attributes, CVAttachmentMode attachmentMode) { setAttachments(attributes.getDictionary().as(NSDictionary.class), attachmentMode); } /**
@MarshalsPointer public static long toNative(List<CVImageBufferAttributes> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVImageBufferAttributes i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
/** * @since Available in iOS 4.0 and later. */ @SuppressWarnings("unchecked") public void setAttributes(CVImageBufferAttributes attributes, CVAttachmentMode attachmentMode) { setAttachments(attributes.getDictionary().as(NSDictionary.class), attachmentMode); } /**
/** * @since Available in iOS 4.0 and later. */ @SuppressWarnings("unchecked") public void setAttributes(CVImageBufferAttributes attributes, CVAttachmentMode attachmentMode) { setAttachments(attributes.getDictionary().as(NSDictionary.class), attachmentMode); } /**
@MarshalsPointer public static long toNative(List<CVImageBufferAttributes> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVImageBufferAttributes i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<CVImageBufferAttributes> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVImageBufferAttributes i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }