Language

LoadSdkErrorCode Enum

Definition

Identifies the reason that an SDK load request failed.

public enum LoadSdkErrorCode
type LoadSdkErrorCode = 
Inheritance
LoadSdkErrorCode

Fields

Name Value Description
NotFound 100

SDK not found.

This indicates that client application tried to load a non-existing SDK by calling SdkSandboxManager.loadSdk(String,Bundle,Executor,OutcomeReceiver).

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

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.

AlreadyLoaded 101

SDK is already loaded.

This indicates that client application tried to reload the same SDK by calling SdkSandboxManager.loadSdk(String,Bundle,Executor,OutcomeReceiver) after being successfully loaded.

Android reference for android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_ALREADY_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.

SdkDefinedError 102

SDK error after being loaded.

This indicates that the SDK encountered an error during post-load initialization. The details of this can be obtained from the Bundle returned in LoadSdkException through the OutcomeReceiver passed in to SdkSandboxManager.loadSdk.

Android reference for android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_SDK_DEFINED_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.

SdkSandboxDisabled 103

SDK sandbox is disabled.

This indicates that the SDK sandbox is disabled. Any subsequent attempts to load SDKs in this boot will also fail.

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

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.

InternalError 500

Internal error while loading SDK.

This indicates a generic internal error happened while applying the call from client application.

Android reference for android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_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.

SdkSandboxProcessNotAvailable 503

SDK sandbox process is not available.

This indicates that the SDK sandbox process is not available, either because it has died, disconnected or was not created in the first place.

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

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 SDK load error constants from SdkSandboxManager in this enumeration. LoadSdkErrorCode reports one of these codes.

The Android 16 error-code declaration lists the permitted values in its LoadSdkErrorCode integer definition; the values are error codes, not flags.

Applies to