透過集合功能整理內容
你可以依據偏好儲存及分類內容。
android.app.sdksandbox
介面
類別
例外狀況
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# android.app.sdksandbox\n\nAdded in [API level 33](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.app.sdksandbox\n======================\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|\n| [SdkSandboxManager.SdkSandboxProcessDeathCallback](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager.SdkSandboxProcessDeathCallback) | A callback for tracking events SDK sandbox death. |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AppOwnedSdkSandboxInterface](/design-for-safety/privacy-sandbox/reference/sdksandbox/AppOwnedSdkSandboxInterface) | Represents a channel for an SDK in the sandbox process to interact with the app. |\n| [SandboxedSdk](/design-for-safety/privacy-sandbox/reference/sdksandbox/SandboxedSdk) | Represents an SDK loaded in the sandbox process. |\n| [SandboxedSdkProvider](/design-for-safety/privacy-sandbox/reference/sdksandbox/SandboxedSdkProvider) | Encapsulates API which SDK sandbox can use to interact with SDKs loaded into it. |\n| [SdkSandboxManager](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager) | Provides APIs to load [SDKs](/reference/android/content/pm/SharedLibraryInfo#TYPE_SDK_PACKAGE) into the SDK sandbox process, and then interact with them. |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [LoadSdkException](/design-for-safety/privacy-sandbox/reference/sdksandbox/LoadSdkException) | Exception thrown by [SdkSandboxManager#loadSdk](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager#loadSdk(java.lang.String,%20android.os.Bundle,%20java.util.concurrent.Executor,%20android.os.OutcomeReceiver\u003candroid.app.sdksandbox.SandboxedSdk,android.app.sdksandbox.LoadSdkException\u003e)) |\n| [RequestSurfacePackageException](/design-for-safety/privacy-sandbox/reference/sdksandbox/RequestSurfacePackageException) | Exception thrown by [SdkSandboxManager#requestSurfacePackage](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager#requestSurfacePackage(java.lang.String,%20android.os.Bundle,%20java.util.concurrent.Executor,%20android.os.OutcomeReceiver\u003candroid.os.Bundle,android.app.sdksandbox.RequestSurfacePackageException\u003e)) |\n\n-\n\n Interfaces\n ----------\n\n - [SdkSandboxManager.SdkSandboxProcessDeathCallback](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager.SdkSandboxProcessDeathCallback)\n-\n\n Classes\n -------\n\n - [AppOwnedSdkSandboxInterface](/design-for-safety/privacy-sandbox/reference/sdksandbox/AppOwnedSdkSandboxInterface)\n - [SandboxedSdk](/design-for-safety/privacy-sandbox/reference/sdksandbox/SandboxedSdk)\n - [SandboxedSdkProvider](/design-for-safety/privacy-sandbox/reference/sdksandbox/SandboxedSdkProvider)\n - [SdkSandboxManager](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager)\n-\n\n Exceptions\n ----------\n\n - [LoadSdkException](/design-for-safety/privacy-sandbox/reference/sdksandbox/LoadSdkException)\n - [RequestSurfacePackageException](/design-for-safety/privacy-sandbox/reference/sdksandbox/RequestSurfacePackageException)"]]