@MarshalsPointer
 public static long toNative(UITextInputTextStyle o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Esempio n. 2
0
 @MarshalsPointer
 public static long toNative(CAAnimationRotationMode o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 3
0
 @MarshalsPointer
 public static long toNative(AVLayerVideoGravity o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @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);
 }
 @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(CNInstantMessageAddressPropertyKey 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);
 }
 @MarshalsPointer
 public static long toNative(MPMoviePlayerThumbnailRequest o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Esempio n. 10
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(SKReceiptRefreshRequestOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(NSURLProtectionSpaceProxyType o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 13
0
 @MarshalsPointer
 public static long toNative(SCNSceneAttribute o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @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(AVSampleRateConverterSettings o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
 @MarshalsPointer
 public static long toNative(HKDietaryQuantityTypeIdentifier o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(UIImagePickerControllerEditingInfo o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Esempio n. 18
0
 @MarshalsPointer
 public static long toNative(NSStreamSOCKSProxyVersion o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 19
0
 @MarshalsPointer
 public static long toNative(SCNLightingModel o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 20
0
 @MarshalsPointer
 public static long toNative(CIContextOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
Esempio n. 21
0
 @MarshalsPointer
 public static long toNative(NSProgressKind o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 22
0
 @MarshalsPointer
 public static long toNative(CKErrorUserInfoKey o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
 @MarshalsPointer
 public static long toNative(AVMetadataKeyISOUserData o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 24
0
 @MarshalsPointer
 public static long toNative(CAShapeFillRule o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 25
0
 @MarshalsPointer
 public static long toNative(HMPredicateKeyPath o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
Esempio n. 26
0
 @MarshalsPointer
 public static NSProgressKind toObject(Class<NSProgressKind> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return NSProgressKind.valueOf(o);
 }
Esempio n. 27
0
 @MarshalsPointer
 public static SCNLightingModel toObject(Class<SCNLightingModel> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return SCNLightingModel.valueOf(o);
 }
Esempio n. 28
0
 @MarshalsPointer
 public static CAShapeFillRule toObject(Class<CAShapeFillRule> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return CAShapeFillRule.valueOf(o);
 }
Esempio n. 29
0
 @MarshalsPointer
 public static AVMetadataFormat toObject(Class<AVMetadataFormat> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return AVMetadataFormat.valueOf(o);
 }
 @MarshalsPointer
 public static HKDietaryQuantityTypeIdentifier toObject(
     Class<HKDietaryQuantityTypeIdentifier> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return HKDietaryQuantityTypeIdentifier.valueOf(o);
 }