/** @since Available in iOS 7.0 and later. */
 public String getDateTime() {
   if (has(Keys.DestinationDateTime())) {
     CFString val = get(Keys.DestinationDateTime(), CFString.class);
     return val.toString();
   }
   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;
 }
Ejemplo n.º 3
0
 /** @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;
 }
Ejemplo n.º 4
0
 public CGColorSpace getWorkingColorSpace() {
   if (has(Keys.WorkingColorSpace())) {
     CGColorSpace val = get(Keys.WorkingColorSpace()).as(CGColorSpace.class);
     return val;
   }
   return null;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 8
0
 /** @since Available in iOS 7.0 and later. */
 public String getRestoreIdentifier() {
   if (has(Keys.RestoreIdentifier())) {
     NSString val = (NSString) get(Keys.RestoreIdentifier());
     return val.toString();
   }
   return null;
 }
Ejemplo n.º 9
0
 public NSNetServiceErrorCode getErrorCode() {
   if (has(Keys.ErrorCode())) {
     NSNumber val = (NSNumber) get(Keys.ErrorCode());
     return NSNetServiceErrorCode.valueOf(val.longValue());
   }
   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;
 }
Ejemplo n.º 11
0
 /** @since Available in iOS 7.0 and later. */
 public boolean showsPowerAlert() {
   if (has(Keys.ShowPowerAlert())) {
     NSNumber val = (NSNumber) get(Keys.ShowPowerAlert());
     return val.booleanValue();
   }
   return false;
 }
 /** @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 8.0 and later. */
 public CFString getIdentifier() {
   if (has(Keys.Identifier())) {
     CFString val = get(Keys.Identifier(), CFString.class);
     return val;
   }
   return null;
 }
 /** @since Available in iOS 7.0 and later. */
 public CGImagePropertyOrientation getOrientation() {
   if (has(Keys.DestinationOrientation())) {
     CFNumber val = get(Keys.DestinationOrientation(), CFNumber.class);
     return CGImagePropertyOrientation.valueOf(val.longValue());
   }
   return null;
 }
 /** @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;
 }
Ejemplo n.º 16
0
 public String getErrorDomain() {
   if (has(Keys.ErrorDomain())) {
     NSString val = (NSString) get(Keys.ErrorDomain());
     return val.toString();
   }
   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;
 }
Ejemplo n.º 18
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;
 }
 /** @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;
 }
Ejemplo n.º 20
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;
 }
Ejemplo n.º 21
0
 public CGColorSpace getOutputColorSpace() {
   if (has(Keys.OutputColorSpace())) {
     CGColorSpace val = get(Keys.OutputColorSpace()).as(CGColorSpace.class);
     return val;
   }
   return null;
 }
Ejemplo n.º 22
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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 24
0
 /** @since Available in iOS 4.3 and later. */
 public CGPath getPath() {
   if (has(Keys.Path())) {
     CGPath val = get(Keys.Path(), CGPath.class);
     return val;
   }
   return null;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 29
0
 /** @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;
 }
 /** @since Available in iOS 8.0 and later. */
 public boolean shouldExcludeGPS() {
   if (has(Keys.MetadataShouldExcludeGPS())) {
     CFBoolean val = get(Keys.MetadataShouldExcludeGPS(), CFBoolean.class);
     return val.booleanValue();
   }
   return false;
 }