Android 12 Developer Preview is here! Try it out, and give us your feedback!

AssetPackException

public class AssetPackException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.google.android.play.core.assetpacks.AssetPackException


An exception indicating something went wrong with the Asset Delivery API.

See getErrorCode() for the specific problem.

Summary

Public methods

int getErrorCode()

Returns an error code value from AssetPackErrorCode.

Inherited methods

Public methods

getErrorCode

public int getErrorCode ()

Returns an error code value from AssetPackErrorCode.

Returns
int