示例#1
0
 /** @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;
 }
示例#2
0
 /** @since Available in iOS 5.0 and later. */
 public AVVideoSettings setScalingMode(AVVideoScalingMode scalingMode) {
   set(Keys.ScalingMode(), scalingMode.value());
   return this;
 }