One Logo Pool Ball
BackgroundAssets · IOS API REFERENCE

AssetPack.Status

struct · iOS 26.0+ · SDK 27.1

struct Status

The status of an asset pack.

Members (9)

get · iOS 26.0+

downloaded

TypeScript
get downloaded(): AssetPack_Status
Swift declaration
static let downloaded: AssetPack.Status

A status value that indicates that the system finished downloading the asset pack.

get · iOS 26.0+

downloading

TypeScript
get downloading(): AssetPack_Status
Swift declaration
static let downloading: AssetPack.Status

A status value that indicates that the system is currently downloading the asset pack.

get · iOS 26.0+

updateAvailable

TypeScript
get updateAvailable(): AssetPack_Status
Swift declaration
static let updateAvailable: AssetPack.Status

A status value that indicates that an update to the asset pack is available to download.

get · iOS 26.0+

downloadAvailable

TypeScript
get downloadAvailable(): AssetPack_Status
Swift declaration
static let downloadAvailable: AssetPack.Status

A status value that indicates that the asset pack is available to download.

get · iOS 26.0+

obsolete

TypeScript
get obsolete(): AssetPack_Status
Swift declaration
static let obsolete: AssetPack.Status

A 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 · iOS 26.0+

init

TypeScript
init(rawValue: number): AssetPack_Status
Swift declaration
init(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.

get · iOS 26.0+

rawValue

TypeScript
getRawValue($self: AssetPack_Status): number
Swift declaration
let rawValue: Int

The 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 · iOS 26.0+

upToDate

TypeScript
get upToDate(): AssetPack_Status
Swift declaration
static let upToDate: AssetPack.Status

A status value that indicates that the downloaded asset pack is up to date.

get · iOS 26.0+

outOfDate

TypeScript
get outOfDate(): AssetPack_Status
Swift declaration
static let outOfDate: AssetPack.Status

A 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.

Skipped declarations

No declarations were skipped in this snapshot.

All BackgroundAssets types →