示例#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;
 }
 /** @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;
 }
 /** @since Available in iOS 4.0 and later. */
 public NSData getVerbatimSampleDescription() {
   if (has(Keys.VerbatimSampleDescription())) {
     NSData val = get(Keys.VerbatimSampleDescription(), NSData.class);
     return val;
   }
   return null;
 }
示例#4
0
 public CGColorSpace getWorkingColorSpace() {
   if (has(Keys.WorkingColorSpace())) {
     CGColorSpace val = get(Keys.WorkingColorSpace()).as(CGColorSpace.class);
     return val;
   }
   return null;
 }
示例#5
0
 public boolean usesSoftwareRenderer() {
   if (has(Keys.UseSoftwareRenderer())) {
     NSNumber val = (NSNumber) get(Keys.UseSoftwareRenderer());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 4.0 and later. */
 public Map<String, String> getFontTable() {
   if (has(Keys.FontTable())) {
     CFDictionary val = get(Keys.FontTable(), CFDictionary.class);
     return val.asStringStringMap();
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public String getDefaultFontName() {
   if (has(Keys.DefaultFontName())) {
     CFString val = get(Keys.DefaultFontName(), CFString.class);
     return val.toString();
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTimeCodeFormatDescriptionSourceReferenceName getSourceReferenceName() {
   if (has(Keys.SourceReferenceName())) {
     CFDictionary val = get(Keys.SourceReferenceName(), CFDictionary.class);
     return new CMTimeCodeFormatDescriptionSourceReferenceName(val);
   }
   return null;
 }
 /** @since Available in iOS 8.0 and later. */
 public CFString getIdentifier() {
   if (has(Keys.Identifier())) {
     CFString val = get(Keys.Identifier(), CFString.class);
     return val;
   }
   return null;
 }
示例#10
0
 /** @since Available in iOS 7.0 and later. */
 public double getExpectedSourceFrameRate() {
   if (has(Keys.ExpectedSourceFrameRate())) {
     NSNumber val = (NSNumber) get(Keys.ExpectedSourceFrameRate());
     return val.doubleValue();
   }
   return 0;
 }
示例#11
0
 /** @since Available in iOS 7.0 and later. */
 public double getAverageNonDroppableFrameRate() {
   if (has(Keys.AverageNonDroppableFrameRate())) {
     NSNumber val = (NSNumber) get(Keys.AverageNonDroppableFrameRate());
     return val.doubleValue();
   }
   return 0;
 }
示例#12
0
 /** @since Available in iOS 7.0 and later. */
 public AVVideoH264EntropyMode getH264EntropyMode() {
   if (has(Keys.H264EntropyMode())) {
     NSString val = (NSString) get(Keys.H264EntropyMode());
     return AVVideoH264EntropyMode.valueOf(val);
   }
   return null;
 }
示例#13
0
 /** @since Available in iOS 4.0 and later. */
 public AVVideoProfileLevel getProfileLevel() {
   if (has(Keys.ProfileLevel())) {
     NSString val = (NSString) get(Keys.ProfileLevel());
     return AVVideoProfileLevel.valueOf(val);
   }
   return null;
 }
示例#14
0
 /** @since Available in iOS 7.0 and later. */
 public boolean allowsFrameReordering() {
   if (has(Keys.AllowFrameReordering())) {
     NSNumber val = (NSNumber) get(Keys.AllowFrameReordering());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionRect getDefaultTextBox() {
   if (has(Keys.DefaultTextBox())) {
     CFDictionary val = get(Keys.DefaultTextBox(), CFDictionary.class);
     return new CMTextFormatDescriptionRect(val);
   }
   return null;
 }
 /** @since Available in iOS 8.0 and later. */
 public CFString getDataType() {
   if (has(Keys.DataType())) {
     CFString val = get(Keys.DataType(), CFString.class);
     return val;
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionStyle getDefaultStyle() {
   if (has(Keys.DefaultStyle())) {
     CFDictionary val = get(Keys.DefaultStyle(), CFDictionary.class);
     return new CMTextFormatDescriptionStyle(val);
   }
   return null;
 }
 /** @since Available in iOS 8.0 and later. */
 public CFString getExtendedLanguageTag() {
   if (has(Keys.ExtendedLanguageTag())) {
     CFString val = get(Keys.ExtendedLanguageTag(), CFString.class);
     return val;
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextJustification getTextJustification() {
   if (has(Keys.TextJustification())) {
     CFNumber val = get(Keys.TextJustification(), CFNumber.class);
     return CMTextJustification.valueOf(val.longValue());
   }
   return null;
 }
示例#20
0
 /** @since Available in iOS 5.0 and later. */
 public CIDetectorAccuracy getAccuracy() {
   if (has(Keys.Accuracy())) {
     NSString val = (NSString) get(Keys.Accuracy());
     return CIDetectorAccuracy.valueOf(val);
   }
   return null;
 }
示例#21
0
 public CGColorSpace getOutputColorSpace() {
   if (has(Keys.OutputColorSpace())) {
     CGColorSpace val = get(Keys.OutputColorSpace()).as(CGColorSpace.class);
     return val;
   }
   return null;
 }
示例#22
0
 /** @since Available in iOS 6.0 and later. */
 public boolean isTracking() {
   if (has(Keys.Tracking())) {
     NSNumber val = (NSNumber) get(Keys.Tracking());
     return val.booleanValue();
   }
   return false;
 }
示例#23
0
 /** @since Available in iOS 8.0 and later. */
 public CIFormat getWorkingFormat() {
   if (has(Keys.WorkingFormat())) {
     NSNumber val = (NSNumber) get(Keys.WorkingFormat());
     return CIFormat.valueOf(val.intValue());
   }
   return null;
 }
示例#24
0
 /** @since Available in iOS 6.0 and later. */
 public double getMinFeatureSize() {
   if (has(Keys.MinFeatureSize())) {
     NSNumber val = (NSNumber) get(Keys.MinFeatureSize());
     return val.doubleValue();
   }
   return 0;
 }
示例#25
0
 /** @since Available in iOS 8.0 and later. */
 public boolean requestsLowPriority() {
   if (has(Keys.PriorityRequestLow())) {
     NSNumber val = (NSNumber) get(Keys.PriorityRequestLow());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextDisplayFlags getDisplayFlags() {
   if (has(Keys.DisplayFlags())) {
     CFNumber val = get(Keys.DisplayFlags(), CFNumber.class);
     return new CMTextDisplayFlags(val.longValue());
   }
   return null;
 }
 public AVAudioQuality getAudioQuality() {
   if (has(Keys.AudioQuality())) {
     NSNumber val = (NSNumber) get(Keys.AudioQuality());
     return AVAudioQuality.valueOf(val.longValue());
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     CFDictionary val = get(Keys.BackgroundColor(), CFDictionary.class);
     return new CMTextFormatDescriptionColor(val);
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public NSData getVerbatimISOSampleEntry() {
   if (has(Keys.VerbatimISOSampleEntry())) {
     NSData val = get(Keys.VerbatimISOSampleEntry(), NSData.class);
     return val;
   }
   return null;
 }
示例#30
0
 /** @since Available in iOS 4.0 and later. */
 public long getHeight() {
   if (has(Keys.Height())) {
     NSNumber val = (NSNumber) get(Keys.Height());
     return val.longValue();
   }
   return 0;
 }