Język

SandboxState Enum

Definition

Identifies whether the SDK sandbox is disabled or enabled with process isolation.

public enum SandboxState
type SandboxState = 
Inheritance
SandboxState

Fields

Name Value Description
Disabled 0

SDK sandbox is disabled.

SdkSandboxManager APIs are hidden. Attempts at calling them will result in UnsupportedOperationException.

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

EnabledProcessIsolation 2

SDK sandbox is enabled.

App can use SdkSandboxManager APIs to load SDKs it depends on into the corresponding SDK sandbox process.

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

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 sandbox state constants from SdkSandboxManager in this enumeration. SdkSandboxState returns the corresponding integer state.

The Android 16 state declaration lists these values in its SdkSandboxState integer definition; they are states, not flags.

Applies to