GetAssetPackStateAsyncOperation
Represents an asynchronous Android asset pack state request operation. AndroidAssetPacks.GetAssetPackStateAsync returns an instance of this class.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
- Inherits from: CustomYieldInstruction
- Implements: IEnumerator
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
Properties
Property | Description |
|---|---|
| isDone | Checks if the operation is finished. |
| keepWaiting | Checks if the operation is still running. |
| size | Gets the total size in bytes of all Android asset packs that had their status checked by this operation. |
| states | Gets the states of all Android asset packs that had their status checked by this operation. |