@MarshalsPointer public static long toNative(List<AVMetadataFormat> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (AVMetadataFormat o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<NSProgressKind> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSProgressKind o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }