RequestSurfacePackageException
classRequestSurfacePackageException: Exception
| kotlin.Any | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | android.app.sdksandbox.RequestSurfacePackageException | ||
Exception thrown by SdkSandboxManager.requestSurfacePackage
Summary
| Public constructors | |
|---|---|
RequestSurfacePackageException(requestSurfacePackageErrorCode: Int, message: String?)Initializes a |
|
RequestSurfacePackageException(requestSurfacePackageErrorCode: Int, message: String?, cause: Throwable?)Initializes a |
|
RequestSurfacePackageException(requestSurfacePackageErrorCode: Int, message: String?, cause: Throwable?, extraInfo: Bundle)Initializes a |
|
| Public methods | |
|---|---|
| Bundle |
Returns the extra error information this exception was constructed with. |
| Int |
Returns the result code this exception was constructed with. |
Public constructors
RequestSurfacePackageException
RequestSurfacePackageException(
requestSurfacePackageErrorCode: Int,
message: String?)
Initializes a RequestSurfacePackageException with a result code and a message
| Parameters | |
|---|---|
requestSurfacePackageErrorCode |
Int: The result code. Value is android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, or android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String?: The detailed message which is saved for later retrieval by the getMessage() method. This value may be null. |
RequestSurfacePackageException
RequestSurfacePackageException(
requestSurfacePackageErrorCode: Int,
message: String?,
cause: Throwable?)
Initializes a RequestSurfacePackageException with a result code, a message and a cause.
| Parameters | |
|---|---|
requestSurfacePackageErrorCode |
Int: The result code. Value is android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, or android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String?: The detailed message which is saved for later retrieval by the getMessage() method. This value may be null. |
cause |
Throwable?: The cause of the exception, which is saved for later retrieval by the getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
RequestSurfacePackageException
RequestSurfacePackageException(
requestSurfacePackageErrorCode: Int,
message: String?,
cause: Throwable?,
extraInfo: Bundle)
Initializes a RequestSurfacePackageException with a result code, a message, a cause and extra information.
| Parameters | |
|---|---|
requestSurfacePackageErrorCode |
Int: The result code. Value is android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, or android.app.sdksandbox.SdkSandboxManager#REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String?: The detailed message which is saved for later retrieval by the getMessage() method. This value may be null. |
cause |
Throwable?: The cause of the exception, which is saved for later retrieval by the getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
extraInfo |
Bundle: Extra error information. This is empty if there is no such information. This value cannot be null. |
Public methods
getExtraErrorInformation
fungetExtraErrorInformation(): 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. |
getRequestSurfacePackageErrorCode
fungetRequestSurfacePackageErrorCode(): Int
Deprecated: Deprecated in Java.
Returns the result code this exception was constructed with.