# AccessDenied

> Indicates that the application does not have permission to download asset packs under the current device circumstances.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Android](/engine/6000.7/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
AccessDenied = -7
```

### Remarks

One possible cause of this is that the application is running in the background.

Additional Resources: [AndroidAssetPacks.DownloadAssetPackAsync](/engine/6000.7/script-reference/unityengine/android/androidassetpacks/downloadassetpackasync.md), [AndroidAssetPacks.GetAssetPackStateAsync](/engine/6000.7/script-reference/unityengine/android/androidassetpacks/getassetpackstateasync.md)
