/** * @since Available in iOS 6.0 and later. */ public long getCurrentAssetSize() { if (has(Keys.CurrentAssetSize())) { CFNumber val = get(Keys.CurrentAssetSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public List<CTFontDescriptor> getDescriptors() { if (has(Keys.Descriptors())) { CFArray val = get(Keys.Descriptors(), CFArray.class); return val.toList(CTFontDescriptor.class); } return null; } /**
/** * @since Available in iOS 6.0 and later. */ public long getTotalDownloadedSize() { if (has(Keys.TotalDownloadedSize())) { CFNumber val = get(Keys.TotalDownloadedSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public double getPercentage() { if (has(Keys.Percentage())) { CFNumber val = get(Keys.Percentage(), CFNumber.class); return val.doubleValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public CTFontDescriptor getSourceDescriptor() { if (has(Keys.SourceDescriptor())) { CTFontDescriptor val = get(Keys.SourceDescriptor(), CTFontDescriptor.class); return val; } return null; } /**
/** * @since Available in iOS 6.0 and later. */ public long getTotalAssetSize() { if (has(Keys.TotalAssetSize())) { CFNumber val = get(Keys.TotalAssetSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public CTFontDescriptor getSourceDescriptor() { if (has(Keys.SourceDescriptor())) { CTFontDescriptor val = get(Keys.SourceDescriptor(), CTFontDescriptor.class); return val; } return null; } /**
/** * @since Available in iOS 6.0 and later. */ public long getTotalAssetSize() { if (has(Keys.TotalAssetSize())) { CFNumber val = get(Keys.TotalAssetSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public long getCurrentAssetSize() { if (has(Keys.CurrentAssetSize())) { CFNumber val = get(Keys.CurrentAssetSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public long getTotalDownloadedSize() { if (has(Keys.TotalDownloadedSize())) { CFNumber val = get(Keys.TotalDownloadedSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public List<CTFontDescriptor> getDescriptors() { if (has(Keys.Descriptors())) { CFArray val = get(Keys.Descriptors(), CFArray.class); return val.toList(CTFontDescriptor.class); } return null; } /**
/** * @since Available in iOS 6.0 and later. */ public double getPercentage() { if (has(Keys.Percentage())) { CFNumber val = get(Keys.Percentage(), CFNumber.class); return val.doubleValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public long getTotalAssetSize() { if (has(Keys.TotalAssetSize())) { CFNumber val = get(Keys.TotalAssetSize(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 6.0 and later. */ public CTFontDescriptor getSourceDescriptor() { if (has(Keys.SourceDescriptor())) { CTFontDescriptor val = get(Keys.SourceDescriptor(), CTFontDescriptor.class); return val; } return null; } /**
/** * @since Available in iOS 6.0 and later. */ public List<CTFontDescriptor> getDescriptors() { if (has(Keys.Descriptors())) { CFArray val = get(Keys.Descriptors(), CFArray.class); return val.toList(CTFontDescriptor.class); } return null; } /**