downloaded
TypeScriptget downloaded(): AssetPack_StatusSwift declarationstatic let downloaded: AssetPack.StatusA status value that indicates that the system finished downloading the asset pack.
struct · iOS 26.0+ · SDK 27.1
struct StatusThe status of an asset pack.
get downloaded(): AssetPack_StatusSwift declarationstatic let downloaded: AssetPack.StatusA status value that indicates that the system finished downloading the asset pack.
get downloading(): AssetPack_StatusSwift declarationstatic let downloading: AssetPack.StatusA status value that indicates that the system is currently downloading the asset pack.
get updateAvailable(): AssetPack_StatusSwift declarationstatic let updateAvailable: AssetPack.StatusA status value that indicates that an update to the asset pack is available to download.
get downloadAvailable(): AssetPack_StatusSwift declarationstatic let downloadAvailable: AssetPack.StatusA status value that indicates that the asset pack is available to download.
get obsolete(): AssetPack_StatusSwift declarationstatic let obsolete: AssetPack.StatusA status value that indicates that the asset pack is no longer available to download. Obsolete asset packs can’t be updated, and they also can’t be redownloaded once removed.
init(rawValue: number): AssetPack_StatusSwift declarationinit(rawValue: Int)Creates a new option set from the given raw value. This initializer always succeeds, even if the value passed as `rawValue` exceeds the static properties declared as part of the option set. This example creates an instance of `ShippingOptions` with a raw value beyond the highest element, with a bit mask that effectively contains all the declared static members. let extraOptions = ShippingOptions(rawValue: 255) print(extraOptions.isStrictSuperset(of: .all)) // Prints "true" - Parameter rawValue: The raw value of the option set to create. Each bit of `rawValue` potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the `OptionSet` type.
getRawValue($self: AssetPack_Status): numberSwift declarationlet rawValue: IntThe corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"
get upToDate(): AssetPack_StatusSwift declarationstatic let upToDate: AssetPack.StatusA status value that indicates that the downloaded asset pack is up to date.
get outOfDate(): AssetPack_StatusSwift declarationstatic let outOfDate: AssetPack.StatusA status value that indicates that the downloaded asset pack is out of date. The presence of this status value doesn’t necessarily imply that an update to the asset pack can be downloaded over the current network connection. Check for the presence of ``AssetPack/Status/updateAvailable`` to determine whether an update can currently be downloaded.
No declarations were skipped in this snapshot.