/** @since Available in iOS 7.0 and later. */
 public AVSampleRateConverterAlgorithm getAlgorithm() {
   if (has(Keys.Algorithm())) {
     NSString val = (NSString) get(Keys.Algorithm());
     return AVSampleRateConverterAlgorithm.valueOf(val);
   }
   return null;
 }
 public AVAudioQuality getAudioQuality() {
   if (has(Keys.AudioQuality())) {
     NSNumber val = (NSNumber) get(Keys.AudioQuality());
     return AVAudioQuality.valueOf(val.longValue());
   }
   return null;
 }
Ejemplo n.º 3
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIFont getFont() {
   if (has(Keys.Font())) {
     UIFont val = (UIFont) get(Keys.Font());
     return val;
   }
   return null;
 }
Ejemplo n.º 4
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getTextColor() {
   if (has(Keys.Color())) {
     UIColor val = (UIColor) get(Keys.Color());
     return val;
   }
   return null;
 }
Ejemplo n.º 5
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     UIColor val = (UIColor) get(Keys.BackgroundColor());
     return val;
   }
   return null;
 }
 public AVSampleRateConverterSettings setAudioQuality(AVAudioQuality audioQuality) {
   set(Keys.AudioQuality(), NSNumber.valueOf(audioQuality.value()));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public AVSampleRateConverterSettings setAlgorithm(AVSampleRateConverterAlgorithm algorithm) {
   set(Keys.Algorithm(), algorithm.value());
   return this;
 }
Ejemplo n.º 8
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setFont(UIFont font) {
   set(Keys.Font(), font);
   return this;
 }
Ejemplo n.º 9
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setTextColor(UIColor textColor) {
   set(Keys.Color(), textColor);
   return this;
 }
Ejemplo n.º 10
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setBackgroundColor(UIColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor);
   return this;
 }