@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);
 }
示例#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(UITextInputTextStyle o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
示例#5
0
 @MarshalsPointer
 public static long toNative(CAAnimationRotationMode 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(NSNetServiceErrorUserInfo 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(NSFileSystemAttributes o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
示例#11
0
 @MarshalsPointer
 public static long toNative(CIContextOptions o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.data, flags);
 }
示例#12
0
 @MarshalsPointer
 public static long toNative(NSCocoaErrorUserInfoKey o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
示例#13
0
 @MarshalsPointer
 public static long toNative(SCNLightingModel 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);
 }
 @MarshalsPointer
 public static long toNative(AVMediaCharacteristic o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
示例#16
0
 @MarshalsPointer
 public static long toNative(CAShapeFillRule 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(AVSampleRateConverterSettings 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);
 }
示例#20
0
 @MarshalsPointer
 public static long toNative(NSStreamSOCKSProxyVersion o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
示例#21
0
 @MarshalsPointer
 public static long toNative(SCNSceneAttribute o, long flags) {
   if (o == null) {
     return 0L;
   }
   return NSObject.Marshaler.toNative(o.value(), flags);
 }
示例#22
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);
 }
示例#23
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);
 }
示例#24
0
 @MarshalsPointer
 public static NSCocoaErrorUserInfoKey toObject(
     Class<NSCocoaErrorUserInfoKey> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return NSCocoaErrorUserInfoKey.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);
 }
 @MarshalsPointer
 public static AVAudioSessionOrientation toObject(
     Class<AVAudioSessionOrientation> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return AVAudioSessionOrientation.valueOf(o);
 }
 @MarshalsPointer
 public static AVMetadataKeyISOUserData toObject(
     Class<AVMetadataKeyISOUserData> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return AVMetadataKeyISOUserData.valueOf(o);
 }
示例#28
0
 @MarshalsPointer
 public static SCNSceneAttribute toObject(
     Class<SCNSceneAttribute> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return SCNSceneAttribute.valueOf(o);
 }
示例#29
0
 @MarshalsPointer
 public static CIContextOptions toObject(Class<CIContextOptions> cls, long handle, long flags) {
   NSDictionary o =
       (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags);
   if (o == null) {
     return null;
   }
   return new CIContextOptions(o);
 }
示例#30
0
 @MarshalsPointer
 public static NSStreamSOCKSProxyVersion toObject(
     Class<NSStreamSOCKSProxyVersion> cls, long handle, long flags) {
   NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
   if (o == null) {
     return null;
   }
   return NSStreamSOCKSProxyVersion.valueOf(o);
 }