@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(AVMetadataKeyISOUserData 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(NSCocoaErrorUserInfoKey o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), 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(NSStreamSOCKSProxyVersion 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); }
@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(AVAudioSessionOrientation 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 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); }
@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); }
@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 AVLayerVideoGravity toObject( Class<AVLayerVideoGravity> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVLayerVideoGravity.valueOf(o); }
@MarshalsPointer public static AVOutputSettingsPreset toObject( Class<AVOutputSettingsPreset> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVOutputSettingsPreset.valueOf(o); }
@MarshalsPointer public static AVMediaCharacteristic toObject( Class<AVMediaCharacteristic> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVMediaCharacteristic.valueOf(o); }
@MarshalsPointer public static NSURLProtectionSpaceProxyType toObject( Class<NSURLProtectionSpaceProxyType> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return NSURLProtectionSpaceProxyType.valueOf(o); }
@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 AVVideoSettings toObject(Class<AVVideoSettings> cls, long handle, long flags) { NSDictionary<NSString, NSObject> o = (NSDictionary<NSString, NSObject>) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new AVVideoSettings(o); }
@MarshalsPointer public static NSFileSystemAttributes toObject( Class<NSFileSystemAttributes> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new NSFileSystemAttributes(o); }
@MarshalsPointer public static AVSampleRateConverterSettings toObject( Class<AVSampleRateConverterSettings> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new AVSampleRateConverterSettings(o); }
@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); }
@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); }
@MarshalsPointer public static NSNetServiceErrorUserInfo toObject( Class<NSNetServiceErrorUserInfo> cls, long handle, long flags) { NSDictionary<NSString, NSObject> o = (NSDictionary<NSString, NSObject>) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new NSNetServiceErrorUserInfo(o); }
@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); }
@MarshalsPointer public static long toNative(List<NSNetServiceErrorUserInfo> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary<NSString, NSObject>> array = new NSMutableArray<>(); for (NSNetServiceErrorUserInfo i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); }
@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); }