/** @since Available in iOS 5.0 and later. */ public AVVideoScalingMode getScalingMode() { if (has(Keys.ScalingMode())) { NSString val = (NSString) get(Keys.ScalingMode()); return AVVideoScalingMode.valueOf(val); } return null; }
/** @since Available in iOS 5.0 and later. */ public AVVideoSettings setScalingMode(AVVideoScalingMode scalingMode) { set(Keys.ScalingMode(), scalingMode.value()); return this; }