تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ 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,["# SdkSandboxManager.SdkSandboxProcessDeathCallback\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nAlso in [Ad Services Extensions 4](/sdkExtensions) \n\nSdkSandboxManager.SdkSandboxProcessDeathCallback\n================================================\n\n\n`\npublic\nstatic\n\n\ninterface\nSdkSandboxManager.SdkSandboxProcessDeathCallback\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------------------------------|\n| android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA callback for tracking events SDK sandbox death.\n\nThe callback can be added using [SdkSandboxManager.addSdkSandboxProcessDeathCallback(java.util.concurrent.Executor, android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback)](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager#addSdkSandboxProcessDeathCallback(java.util.concurrent.Executor,%20android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback)) and removed using [SdkSandboxManager.removeSdkSandboxProcessDeathCallback(android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback)](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager#removeSdkSandboxProcessDeathCallback(android.app.sdksandbox.SdkSandboxManager.SdkSandboxProcessDeathCallback))\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onSdkSandboxDied](/design-for-safety/privacy-sandbox/reference/sdksandbox/SdkSandboxManager.SdkSandboxProcessDeathCallback#onSdkSandboxDied())`() ` Notifies the client application that the SDK sandbox has died. |\n\nPublic methods\n--------------\n\n### onSdkSandboxDied\n\nAdded in [API level 34](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nAlso in [Ad Services Extensions 4](/sdkExtensions) \n\n```\npublic abstract void onSdkSandboxDied ()\n```\n\nNotifies the client application that the SDK sandbox has died. The sandbox could die for\nvarious reasons, for example, due to memory pressure on the system, or a crash in the\nsandbox.\n\nThe system will automatically restart the sandbox process if it died due to a crash.\nHowever, the state of the sandbox will be lost - so any SDKs that were loaded previously\nwould have to be loaded again, using [SdkSandboxManager#loadSdk(String, Bundle,\nExecutor, OutcomeReceiver)](/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)) to continue using them.\n\n\u003cbr /\u003e"]]