/** * @since Available in iOS 4.0 and later. */ public boolean isCompatibleWithCGBitmapContext() { if (has(CVPixelBufferAttribute.CGBitmapContextCompatibility)) { CFBoolean val = get(CVPixelBufferAttribute.CGBitmapContextCompatibility, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.2 and later. */ public boolean isEnabled() { if (has(CTFontAttribute.Enabled)) { CFBoolean val = get(CTFontAttribute.Enabled, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isNotSync() { if (has(CMSampleAttachmentKey.NotSync)) { CFBoolean val = get(CMSampleAttachmentKey.NotSync, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean hasRedundantCoding() { if (has(CMSampleAttachmentKey.HasRedundantCoding)) { CFBoolean val = get(CMSampleAttachmentKey.HasRedundantCoding, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 6.0 and later. */ public boolean isBold() { if (has(CMTextMarkupAttribute.BoldStyle)) { CFBoolean val = get(CMTextMarkupAttribute.BoldStyle, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.2 and later. */ public boolean usesForegroundColorFromContext() { if (has(CTAttributedStringAttribute.ForegroundColorFromContext)) { CFBoolean val = get(CTAttributedStringAttribute.ForegroundColorFromContext, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 6.0 and later. */ public boolean isDownloadable() { if (has(CTFontAttribute.Downloadable)) { CFBoolean val = get(CTFontAttribute.Downloadable, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isPartialSync() { if (has(CMSampleAttachmentKey.PartialSync)) { CFBoolean val = get(CMSampleAttachmentKey.PartialSync, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean allowsEarlierDisplayTimes() { if (has(CMSampleAttachmentKey.EarlierDisplayTimesAllowed)) { CFBoolean val = get(CMSampleAttachmentKey.EarlierDisplayTimesAllowed, CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. */ public boolean isExtendedValidation() { if (has(Keys.ExtendedValidation())) { CFBoolean val = get(Keys.ExtendedValidation(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean isNegative() { if (has(Keys.IsNegative())) { CFBoolean val = get(Keys.IsNegative(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean isPermanent() { if (has(Keys.IsPermanent())) { CFBoolean val = get(Keys.IsPermanent(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean canWrap() { if (has(Keys.CanWrap())) { CFBoolean val = get(Keys.CanWrap(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.3 and later. */ public boolean containsAlpha() { if (has(Keys.ContainsAlpha())) { CFBoolean val = get(Keys.ContainsAlpha(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isCompatibleWithQD() { if (has(Keys.QDCompatibility())) { CFBoolean val = get(Keys.QDCompatibility(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean shouldAllowFloat() { if (has(Keys.ShouldAllowFloat())) { CFBoolean val = get(Keys.ShouldAllowFloat(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean allowsPrinting() { if (has(Keys.AllowsPrinting())) { CFBoolean val = get(Keys.AllowsPrinting(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 8.0 and later. */ public boolean appliesAutoLevel() { if (has(Keys.Level())) { CFBoolean val = get(Keys.Level(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.3 and later. */ public boolean isFullRangeVideo() { if (has(Keys.FullRangeVideo())) { CFBoolean val = get(Keys.FullRangeVideo(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 3.2 and later. */ public boolean removesDuplicates() { if (has(Keys.RemoveDuplicates())) { CFBoolean val = get(Keys.RemoveDuplicates(), CFBoolean.class); return val.booleanValue(); } return false; } /**