예제 #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);
 }
예제 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CVBufferAttributes setNonPropagatedAttachments(
     CVBufferAttributes nonPropagatedAttachments) {
   set(CVBufferAttribute.NonPropagatedAttachments, nonPropagatedAttachments.getDictionary());
   return this;
 }