public static /*<name>*/AVVideoH264EntropyMode/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/AVVideoH264EntropyMode/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/AVVideoH264EntropyMode/*</name>*/.class.getName()); }
@MarshalsPointer public static AVVideoH264EntropyMode toObject(Class<AVVideoH264EntropyMode> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVVideoH264EntropyMode.valueOf(o); } @MarshalsPointer
@MarshalsPointer public static long toNative(AVVideoH264EntropyMode o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVVideoH264EntropyMode> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVVideoH264EntropyMode> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVVideoH264EntropyMode.valueOf(o.get(i))); } return list; } @MarshalsPointer
/** * @since Available in iOS 7.0 and later. */ public AVVideoSettings setH264EntropyMode(AVVideoH264EntropyMode h264EntropyMode) { set(Keys.H264EntropyMode(), h264EntropyMode.value()); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public AVVideoH264EntropyMode getH264EntropyMode() { if (has(Keys.H264EntropyMode())) { NSString val = (NSString) get(Keys.H264EntropyMode()); return AVVideoH264EntropyMode.valueOf(val); } return null; } /**
@MarshalsPointer public static long toNative(List<AVVideoH264EntropyMode> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (AVVideoH264EntropyMode o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static AVVideoH264EntropyMode toObject(Class<AVVideoH264EntropyMode> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVVideoH264EntropyMode.valueOf(o); } @MarshalsPointer
public static /*<name>*/AVVideoH264EntropyMode/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/AVVideoH264EntropyMode/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/AVVideoH264EntropyMode/*</name>*/.class.getName()); }
@MarshalsPointer public static AVVideoH264EntropyMode toObject(Class<AVVideoH264EntropyMode> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVVideoH264EntropyMode.valueOf(o); } @MarshalsPointer
public static /*<name>*/AVVideoH264EntropyMode/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/AVVideoH264EntropyMode/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/AVVideoH264EntropyMode/*</name>*/.class.getName()); }
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVVideoH264EntropyMode> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVVideoH264EntropyMode> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVVideoH264EntropyMode.valueOf(o.get(i))); } return list; } @MarshalsPointer
@MarshalsPointer public static long toNative(AVVideoH264EntropyMode o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVVideoH264EntropyMode> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVVideoH264EntropyMode> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVVideoH264EntropyMode.valueOf(o.get(i))); } return list; } @MarshalsPointer
/** * @since Available in iOS 7.0 and later. */ public AVVideoSettings setH264EntropyMode(AVVideoH264EntropyMode h264EntropyMode) { set(Keys.H264EntropyMode(), h264EntropyMode.value()); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public AVVideoH264EntropyMode getH264EntropyMode() { if (has(Keys.H264EntropyMode())) { NSString val = (NSString) get(Keys.H264EntropyMode()); return AVVideoH264EntropyMode.valueOf(val); } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public AVVideoSettings setH264EntropyMode(AVVideoH264EntropyMode h264EntropyMode) { set(Keys.H264EntropyMode(), h264EntropyMode.value()); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public AVVideoH264EntropyMode getH264EntropyMode() { if (has(Keys.H264EntropyMode())) { NSString val = (NSString) get(Keys.H264EntropyMode()); return AVVideoH264EntropyMode.valueOf(val); } return null; } /**
@MarshalsPointer public static long toNative(AVVideoH264EntropyMode o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(List<AVVideoH264EntropyMode> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (AVVideoH264EntropyMode o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }