@MarshalsPointer public static AVVideoCleanAperture toObject(Class<AVVideoCleanAperture> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new AVVideoCleanAperture(o); } @MarshalsPointer
/** * @since Available in iOS 4.0 and later. */ public AVPixelBufferAttributes setCleanAperture(AVVideoCleanAperture cleanAperture) { data.put(AVVideoSettings.Keys.CleanAperture(), cleanAperture.getDictionary()); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture setWidth(long width) { set(Keys.Width(), NSNumber.valueOf(width)); return this; } /**
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public AVVideoCleanAperture set(NSString key, NSObject value) {
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture setHeight(long height) { set(Keys.Height(), NSNumber.valueOf(height)); return this; } /**
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public AVVideoCleanAperture set(NSString key, NSObject value) {
@MarshalsPointer public static List<AVVideoCleanAperture> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVVideoCleanAperture> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new AVVideoCleanAperture(o.get(i))); } return list; } @MarshalsPointer
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture setHorizontalOffset(long horizontalOffset) { set(Keys.HorizontalOffset(), NSNumber.valueOf(horizontalOffset)); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public AVVideoSettings setCleanAperture(AVVideoCleanAperture cleanAperture) { set(Keys.CleanAperture(), cleanAperture.getDictionary()); return this; } /**
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public AVVideoCleanAperture set(NSString key, NSObject value) {
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture getCleanAperture() { if (has(Keys.CleanAperture())) { NSDictionary val = (NSDictionary) get(Keys.CleanAperture()); return new AVVideoCleanAperture(val); } return null; } /**
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture setVerticalOffset(long verticalOffset) { set(Keys.VerticalOffset(), NSNumber.valueOf(verticalOffset)); return this; } /*</methods>*/
@MarshalsPointer public static long toNative(List<AVVideoCleanAperture> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary> array = new NSMutableArray<>(); for (AVVideoCleanAperture i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); } }
/** * @since Available in iOS 4.0 and later. */ @SuppressWarnings("unchecked") public AVVideoCleanAperture getCleanAperture() { if (data.containsKey(AVVideoSettings.Keys.CleanAperture())) { NSDictionary<NSString, NSObject> val = data.get(AVVideoSettings.Keys.CleanAperture(), NSDictionary.class); return new AVVideoCleanAperture(val); } return null; } /**
/** * @since Available in iOS 4.0 and later. */ public AVVideoCleanAperture setVerticalOffset(long verticalOffset) { set(Keys.VerticalOffset(), NSNumber.valueOf(verticalOffset)); return this; } /*</methods>*/
/** * @since Available in iOS 4.0 and later. */ public AVVideoSettings setCleanAperture(AVVideoCleanAperture cleanAperture) { set(Keys.CleanAperture(), cleanAperture.getDictionary()); return this; } /**