使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
android.app.sdksandbox
接口
类
异常
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):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)"]]