---
title: "shouldDownloadAssetPack:"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/bamanageddownloaderextension/shoulddownloadassetpack:"
---

# shouldDownloadAssetPack:

Determines whether to download an asset pack.

## Declaration

```occ
- (BOOL) shouldDownloadAssetPack:(BAAssetPack *) assetPack;
```

## Parameters

- `assetPack`: An asset pack that’s being considered as a candidate to be downloaded.

## Return Value

Return Value Whether the asset pack should be downloaded.

## Discussion

Discussion By default, the system automatically downloads all applicable asset packs with either “essential” or “prefetch” download policies for the current installation event type. You can optionally implement this method to filter out unwanted asset packs at runtime.
