/** @since Available in iOS 4.0 and later. */ public AVVideoSettings setPixelAspectRatio(AVPixelAspectRatio pixelAspectRatio) { NSDictionary<NSString, NSObject> val = new NSMutableDictionary<>(); val.put(AVPixelAspectRatio.HorizontalSpacing(), pixelAspectRatio.getHorizontalSpacing()); val.put(AVPixelAspectRatio.VerticalSpacing(), pixelAspectRatio.getVerticalSpacing()); set(Keys.PixelAspectRatio(), val); return this; }
/** @since Available in iOS 4.0 and later. */ public String getAirline() { if (data.containsKey(AirlineKey())) { NSString val = (NSString) data.get(AirlineKey()); return val.toString(); } return null; }
/** @since Available in iOS 4.0 and later. */ public String getFlight() { if (data.containsKey(FlightKey())) { NSString val = (NSString) data.get(FlightKey()); return val.toString(); } return null; }
/** @since Available in iOS 4.0 and later. */ public AVPixelAspectRatio getPixelAspectRatio() { if (has(Keys.PixelAspectRatio())) { NSDictionary<NSString, NSObject> val = (NSDictionary<NSString, NSObject>) get(Keys.PixelAspectRatio()); AVPixelAspectRatio result = new AVPixelAspectRatio( val.getLong(AVPixelAspectRatio.HorizontalSpacing(), 0), val.getLong(AVPixelAspectRatio.VerticalSpacing(), 0)); return result; } return null; }
/** @since Available in iOS 5.0 and later. */ @WeaklyLinked public CTAttributedStringAttributes getTitleCoreTextAttributes(UIControlState state) { NSDictionary<NSString, ?> dict = getTitleTextAttributesDictionary(state); if (dict == null) return null; return new CTAttributedStringAttributes(dict.as(CFDictionary.class)); }
/*</methods>*/ @Override public String toString() { if (data != null) return data.toString(); return super.toString(); }