예제 #1
0
 @MarshalsPointer
 public static long toNative(NSNetServiceErrorUserInfo o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(CNInstantMessageAddressPropertyKey o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(NSURLProtectionSpaceProxyType o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #4
0
 @MarshalsPointer
 public static long toNative(AVLayerVideoGravity o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #5
0
 @MarshalsPointer
 public static long toNative(UITextInputTextStyle o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
예제 #6
0
 @MarshalsPointer
 public static long toNative(CAAnimationRotationMode o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #7
0
 @MarshalsPointer
 public static long toNative(AVOutputSettingsPreset o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(NSTextCheckingTransitComponents o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
예제 #9
0
 @MarshalsPointer
 public static long toNative(NSCocoaErrorUserInfoKey o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #10
0
 @MarshalsPointer
 public static long toNative(CAShapeFillRule o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #11
0
 @MarshalsPointer
 public static long toNative(NSFileSystemAttributes o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(SKReceiptRefreshRequestOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(AVSampleRateConverterSettings o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
예제 #14
0
 @MarshalsPointer
 public static long toNative(SCNLightingModel o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #15
0
 @MarshalsPointer
 public static long toNative(CIContextOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
예제 #16
0
 @MarshalsPointer
 public static long toNative(NSStreamSOCKSProxyVersion o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(HKDietaryQuantityTypeIdentifier o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #18
0
 @MarshalsPointer
 public static long toNative(AVMetadataKeyISOUserData o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #19
0
 @MarshalsPointer
 public static long toNative(SCNSceneAttribute o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #20
0
 @MarshalsPointer
 public static long toNative(AVMediaCharacteristic o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(AVAudioSessionOrientation o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
예제 #22
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);
 }
예제 #23
0
 @MarshalsPointer
 public static long toNative(List<CIContextOptions> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary> array = new NSMutableArray<>();
   for (CIContextOptions i : l) {
     array.add(i.getDictionary());
   }
   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<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);
 }
예제 #26
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);
 }
예제 #27
0
 @MarshalsPointer
 public static long toNative(List<CVPixelFormatType> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSMutableArray<NSNumber> array = new NSMutableArray<>();
   for (CVPixelFormatType i : l) {
     array.add(NSNumber.valueOf(i.value()));
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #28
0
 @MarshalsPointer
 public static long toNative(List<CMVideoCodecType> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSMutableArray<NSString> array = new NSMutableArray<>();
   for (CMVideoCodecType i : l) {
     array.add(new NSString(i.asFourCharCode()));
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
 @MarshalsPointer
 public static long toNative(List<HKDietaryQuantityTypeIdentifier> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSString> array = new NSMutableArray<>();
   for (HKDietaryQuantityTypeIdentifier o : l) {
     array.add(o.value());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #30
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);
 }