Exemplo n.º 1
0
 @MarshalsPointer
 public static long toNative(List<CMImageDescriptionFlavor> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CMImageDescriptionFlavor o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<CFURLUbiquitousItemDownloadingStatus> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CFURLUbiquitousItemDownloadingStatus o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }
Exemplo n.º 3
0
 @MarshalsPointer
 public static long toNative(List<CMMetadataKeySpace> l, long flags) {
   if (l == null) {
     return 0L;
   }
   CFArray array = CFMutableArray.create();
   for (CMMetadataKeySpace o : l) {
     array.add(o.value());
   }
   return CFType.Marshaler.toNative(array, flags);
 }