# RequestToUseMobileDataAsyncOperation

> Represents an asynchronous operation that requests to use mobile data 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 RequestToUseMobileDataAsyncOperation : CustomYieldInstruction, IEnumerator
```

## Remarks

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

## Properties

| Property                                                                                                               | Description                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [isDone](/engine/6000.6/script-reference/unityengine/android/requesttousemobiledataasyncoperation/isdone.md)           | Checks if the operation is finished.                                                                       |
| [keepWaiting](/engine/6000.6/script-reference/unityengine/android/requesttousemobiledataasyncoperation/keepwaiting.md) | Checks if the operation is still running.                                                                  |
| [result](/engine/6000.6/script-reference/unityengine/android/requesttousemobiledataasyncoperation/result.md)           | Indicates whether the end user allowed the application to use mobile data to download Android asset packs. |
