# GetAssetPackStateAsyncOperation

> Represents an asynchronous Android asset pack state request operation. AndroidAssetPacks.GetAssetPackStateAsync returns an instance of this class.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Android](/engine/6000.5/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule
* **Inherits from:** [CustomYieldInstruction](/engine/6000.5/script-reference/unityengine/customyieldinstruction.md)
* **Implements:** [IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.ienumerator)

```csharp
public class GetAssetPackStateAsyncOperation : CustomYieldInstruction, IEnumerator
```

## Remarks

You can yield until the operation completes, or manually check whether it's done using isDone or keepWaiting properties. Additional Resources: [AndroidAssetPacks.GetAssetPackStateAsync](/engine/6000.5/script-reference/unityengine/android/androidassetpacks/getassetpackstateasync.md).

## Properties

| Property                                                                                                          | Description                                                                                              |
| ----------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| [isDone](/engine/6000.5/script-reference/unityengine/android/getassetpackstateasyncoperation/isdone.md)           | Checks if the operation is finished.                                                                     |
| [keepWaiting](/engine/6000.5/script-reference/unityengine/android/getassetpackstateasyncoperation/keepwaiting.md) | Checks if the operation is still running.                                                                |
| [size](/engine/6000.5/script-reference/unityengine/android/getassetpackstateasyncoperation/size.md)               | Gets the total size in bytes of all Android asset packs that had their status checked by this operation. |
| [states](/engine/6000.5/script-reference/unityengine/android/getassetpackstateasyncoperation/states.md)           | Gets the states of all Android asset packs that had their status checked by this operation.              |
