| Parameter | Description |
|---|---|
| assetPackNames | The array of names of Android asset packs to download. |
DownloadAssetPackAsyncOperation An object that represents the download operation. If you yield this object inside a coroutine, the coroutine pauses until the operation is complete.
Downloads Android asset packs to the device.
This method directly wraps Google's PlayCore plug-in API. If the PlayCore plug-in is missing, calling this method throws an InvalidOperationException.
Additional resources: DownloadAssetPackAsyncOperation, AndroidAssetPackInfo, AndroidAssetPacks.CancelAssetPackDownload, AndroidAssetPacks.GetAssetPackPath, AndroidAssetPacks.GetAssetPackStateAsync, AndroidAssetPacks.RemoveAssetPack, AndroidAssetPacks.RequestToUseMobileDataAsync.
| Parameter | Description |
|---|---|
| assetPackNames | The array of names of Android asset packs to download. |
| callback | The callback method to inform about download progress. It gets called multiple times for each asset pack during its download. The callback method must have a parameter of AndroidAssetPackInfo type. The default value is null. |
Downloads Android asset packs.
This method directly wraps Google's PlayCore plug-in API. If the PlayCore plug-in is missing, calling this method throws an InvalidOperationException.
Additional resources: AndroidAssetPackInfo, AndroidAssetPacks.CancelAssetPackDownload, AndroidAssetPacks.GetAssetPackPath, AndroidAssetPacks.GetAssetPackStateAsync, AndroidAssetPacks.RemoveAssetPack, AndroidAssetPacks.RequestToUseMobileDataAsync.