# ConfirmationDialogAsyncOperation

> Represents an asynchronous operation that requests the user for consent to download Android asset packs.

## Definition

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

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

## Remarks

[AndroidAssetPacks.ShowConfirmationDialogAsync](/engine/6000.6/script-reference/unityengine/android/androidassetpacks/showconfirmationdialogasync.md) returns an instance of this class. You can yield until the operation completes, or manually check whether it's completed using `isDone` or `keepWaiting` properties.

Additional Resources: [AndroidAssetPacks.ShowConfirmationDialogAsync](/engine/6000.6/script-reference/unityengine/android/androidassetpacks/showconfirmationdialogasync.md).

## Properties

| Property                                                                                                           | Description                                                                        |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| [isDone](/engine/6000.6/script-reference/unityengine/android/confirmationdialogasyncoperation/isdone.md)           | Indicates whether the operation has completed.                                     |
| [keepWaiting](/engine/6000.6/script-reference/unityengine/android/confirmationdialogasyncoperation/keepwaiting.md) | Indicates whether the operation is still in progress.                              |
| [result](/engine/6000.6/script-reference/unityengine/android/confirmationdialogasyncoperation/result.md)           | Indicates whether the end user gave their consent to download Android asset packs. |
