Beispiel #1
0
 @MarshalsPointer
 public static long toNative(List<CVBufferAttributes> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CVBufferAttributes i : l) {
     array.add(i.getDictionary());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Beispiel #2
0
 /** @since Available in iOS 4.0 and later. */
 public CVBufferAttributes setNonPropagatedAttachments(
     CVBufferAttributes nonPropagatedAttachments) {
   set(CVBufferAttribute.NonPropagatedAttachments, nonPropagatedAttachments.getDictionary());
   return this;
 }