@MarshalsPointer
 public static long toNative(List<AVSampleRateConverterSettings> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary> array = new NSMutableArray<>();
   for (AVSampleRateConverterSettings i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #2
0
 @MarshalsPointer
 public static long toNative(List<NSStreamSOCKSProxyVersion> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (NSStreamSOCKSProxyVersion o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #3
0
 @MarshalsPointer
 public static long toNative(List<SCNLightingModel> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (SCNLightingModel o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #4
0
 @MarshalsPointer
 public static long toNative(List<NSCocoaErrorUserInfoKey> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (NSCocoaErrorUserInfoKey i : l) {
     array.add(i.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<AVAudioSessionOrientation> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (AVAudioSessionOrientation o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<NSURLProtectionSpaceProxyType> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (NSURLProtectionSpaceProxyType o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #7
0
 @MarshalsPointer
 public static long toNative(List<UITextInputTextStyle> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary> array = new NSMutableArray<>();
   for (UITextInputTextStyle i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #8
0
 @MarshalsPointer
 public static long toNative(List<AVLayerVideoGravity> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (AVLayerVideoGravity o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #9
0
 @MarshalsPointer
 public static long toNative(List<AVOutputSettingsPreset> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (AVOutputSettingsPreset o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #10
0
 @MarshalsPointer
 public static long toNative(List<NSFileSystemAttributes> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary> array = new NSMutableArray<>();
   for (NSFileSystemAttributes i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }