This version of Unity is unsupported.

AndroidAssetPacks.CancelAssetPackDownload

Declaration

public static void CancelAssetPackDownload(string[] assetPackNames);

Parameters

assetPackNames The array of names of the Android asset packs to cancel the download for.

Description

Cancels Android asset pack downloads.

This method directly wraps Google's PlayCore plugin API. If the PlayCore plugin is missing, calling this method throws an InvalidOperationException exception. See Also: AndroidAssetPacks.DownloadAssetPackAsync.