LoadSdkException

class LoadSdkException : Exception, Parcelable
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.app.sdksandbox.LoadSdkException

Exception thrown by SdkSandboxManager#loadSdk

Summary

Inherited constants
Public constructors
LoadSdkException(cause: Throwable, extraInfo: Bundle)

Initializes a LoadSdkException with a Throwable and a Bundle.

Public methods
Int

Bundle

Returns the extra error information this exception was constructed with.

Int

Returns the result code this exception was constructed with.

Unit
writeToParcel(destination: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<LoadSdkException!>

Public constructors

LoadSdkException

LoadSdkException(
    cause: Throwable,
    extraInfo: Bundle)

Initializes a LoadSdkException with a Throwable and a Bundle.

Parameters
cause Throwable: The cause of the exception, which is saved for later retrieval by the getCause() method. This value cannot be null.
extraInfo Bundle: Extra error information. This is empty if there is no such information. This value cannot be null.

Public methods

describeContents

Added in API level 34
fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

getExtraInformation

fun getExtraInformation(): Bundle

Returns the extra error information this exception was constructed with.

Return
Bundle The extra error information Bundle. This value cannot be null.

writeToParcel

Added in API level 34
fun writeToParcel(
    destination: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest The Parcel in which the object should be written. This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES
destination Parcel: This value cannot be null.

Properties

CREATOR

static val CREATOR: Parcelable.Creator<LoadSdkException!>