---
title: "localStatus(ofAssetPackWithID:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/assetpackmanager/localstatus(ofassetpackwithid:)"
---

# localStatus(ofAssetPackWithID:)

Checks an asset pack’s local status.

## Declaration

```swift
func localStatus(ofAssetPackWithID assetPackID: String) async -> AssetPack.Status
```

## Parameters

- `assetPackID`: The asset pack’s ID.

## Return Value

Return Value The asset pack’s local status.

## Discussion

Discussion This method checks only status values that are determinable offline. It doesn’t induce any network traffic or automatically trigger any downloads, updates, or removals. The following status values are determinable offline: outOfDate (in some situations) obsolete (in some situations) downloaded Because this method doesn’t communicate with the server, it can’t determine whether a particular asset pack exists in the first place. Instead, it returns an empty status value when provided a nonexistent asset-pack ID, which is indistinguishable from the situation in which the asset pack does indeed exist but hasn’t yet been downloaded. Use status(ofAssetPackWithID:) to get a full view of an asset pack’s status.

## See Also

### Managing asset packs

- [checkForUpdates()](backgroundassets/assetpackmanager/checkforupdates().md)
- [ensureLocalAvailability(of:requireLatestVersion:)](backgroundassets/assetpackmanager/ensurelocalavailability(of:requirelatestversion:).md)
- [ensureLocalAvailability(of:requireLatestVersions:)](backgroundassets/assetpackmanager/ensurelocalavailability(of:requirelatestversions:).md)
- [assetPackIsAvailableLocally(withID:)](backgroundassets/assetpackmanager/assetpackisavailablelocally(withid:).md)
- [status(relativeTo:)](backgroundassets/assetpackmanager/status(relativeto:).md)
- [AssetPack.Status](backgroundassets/assetpack/status.md)
- [remove(assetPackWithID:)](backgroundassets/assetpackmanager/remove(assetpackwithid:).md)
- [status(ofAssetPackWithID:)](backgroundassets/assetpackmanager/status(ofassetpackwithid:).md)
- [ensureLocalAvailability(of:)](backgroundassets/assetpackmanager/ensurelocalavailability(of:).md)
