ConfirmationDialogAsyncOperation
Represents an asynchronous operation that requests the user for consent to download Android asset packs.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
- Inherits from: CustomYieldInstruction
- Implements: IEnumerator
public class ConfirmationDialogAsyncOperation : CustomYieldInstruction, IEnumerator
Remarks
AndroidAssetPacks.ShowConfirmationDialogAsync returns an instance of this class. You can yield until the operation completes, or manually check whether it's completed using or properties.
isDonekeepWaitingAdditional Resources: AndroidAssetPacks.ShowConfirmationDialogAsync.
Properties
Property | Description |
|---|---|
| isDone | Indicates whether the operation has completed. |
| keepWaiting | Indicates whether the operation is still in progress. |
| result | Indicates whether the end user gave their consent to download Android asset packs. |