Language

RequestSurfacePackageErrorCode Enum

Definition

Identifies a failure to obtain a surface package from a sandboxed SDK.

public enum RequestSurfacePackageErrorCode
type RequestSurfacePackageErrorCode = 
Inheritance
RequestSurfacePackageErrorCode

Fields

Name Value Description
InternalError 700

Internal error while requesting a SurfacePackage.

This indicates a generic internal error happened while requesting a SurfacePackage.

Android reference for android.app.sdksandbox.SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SdkNotLoaded 701

SDK is not loaded while requesting a SurfacePackage.

This indicates that the SDK for which the SurfacePackage is being requested is not loaded, either because the sandbox died or because it was not loaded in the first place.

Android reference for android.app.sdksandbox.SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The .NET binding groups the surface-package request error constants from SdkSandboxManager in this enumeration. A failure can indicate an internal error or an SDK that is not loaded.

The Android 16 request error-code declaration lists these two values in its RequestSurfacePackageErrorCode integer definition; they are error codes, not flags.

Applies to