/** @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;
 }
 /** @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 7.0 and later. */
 public String getRestoreIdentifier() {
   if (has(Keys.RestoreIdentifier())) {
     NSString val = (NSString) get(Keys.RestoreIdentifier());
     return val.toString();
   }
   return null;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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 double getMinFeatureSize() {
   if (has(Keys.MinFeatureSize())) {
     NSNumber val = (NSNumber) get(Keys.MinFeatureSize());
     return val.doubleValue();
   }
   return 0;
 }
Пример #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 4.3 and later. */
 public CGPath getPath() {
   if (has(Keys.Path())) {
     CGPath val = get(Keys.Path(), CGPath.class);
     return val;
   }
   return null;
 }
Пример #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;
 }
Пример #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;
 }