WaitingForWifi
Indicates that the device has paused the Android asset pack download until it connects to the WiFi network.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
WaitingForWifi = 7
Remarks
You can call AndroidAssetPacks.RequestToUseMobileDataAsync to ask for the permission to continue download using the mobile data. If such permission is given by the user, the download should resume automatically. Additional Resources: AndroidAssetPacks.RequestToUseMobileDataAsync, AndroidAssetPacks.DownloadAssetPackAsync, AndroidAssetPacks.GetAssetPackStateAsync.