LoadSdkException
classLoadSdkException: 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 |
|
| Public methods | |
|---|---|
| Int |
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| 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
fundescribeContents(): Int
Deprecated: Deprecated in Java.
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(android.os.Parcel,int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or
|
getExtraInformation
fungetExtraInformation(): Bundle
Deprecated: Deprecated in Java.
Returns the extra error information this exception was constructed with.
| Return | |
|---|---|
Bundle |
The extra error information Bundle. This value cannot be null. |
getLoadSdkErrorCode
fungetLoadSdkErrorCode(): Int
Deprecated: Deprecated in Java.
Returns the result code this exception was constructed with.
writeToParcel
funwriteToParcel(
destination: Parcel,
flags: Int
): Unit
Deprecated: Deprecated in Java.
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 the following:
|
destination |
Parcel: This value cannot be null. |