Stay organized with collections
Save and categorize content based on your preferences.
RemoteCallbackList.Builder.InterfaceDiedCallback
public
static
interface
RemoteCallbackList.Builder.InterfaceDiedCallback
For notifying when the process hosting a callback interface has died.
Summary
Public methods
onInterfaceDied
public abstract void onInterfaceDied (RemoteCallbackList<E> remoteCallbackList,
E deadInterface,
Object cookie)
Invoked when a callback interface has died.
Parameters |
remoteCallbackList |
RemoteCallbackList : the list that the interface was registered with.
This value cannot be null . |
deadInterface |
E : the interface that has died. |
cookie |
Object : the cookie specified on interface registration.
This value may be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# RemoteCallbackList.Builder.InterfaceDiedCallback\n\nAdded in [API level 36](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nRemoteCallbackList.Builder.InterfaceDiedCallback\n================================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/os/RemoteCallbackList.Builder.InterfaceDiedCallback \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nRemoteCallbackList.Builder.InterfaceDiedCallback\n`\n\n\n`\n\n\n`\n\n|------------------------------------------------------------------------------------------------------------------------------------|\n| android.os.RemoteCallbackList.Builder.InterfaceDiedCallback\\\u003cE extends [android.os.IInterface](/reference/android/os/IInterface)\\\u003e |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nFor notifying when the process hosting a callback interface has died.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onInterfaceDied](/reference/android/os/RemoteCallbackList.Builder.InterfaceDiedCallback#onInterfaceDied(android.os.RemoteCallbackList\u003cE\u003e,%20E,%20java.lang.Object))`(`[RemoteCallbackList](/reference/android/os/RemoteCallbackList)`\u003cE\u003e remoteCallbackList, E deadInterface, `[Object](/reference/java/lang/Object)` cookie) ` Invoked when a callback interface has died. |\n\nPublic methods\n--------------\n\n### onInterfaceDied\n\nAdded in [API level 36](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onInterfaceDied (RemoteCallbackList\u003cE\u003e remoteCallbackList, \n E deadInterface, \n Object cookie)\n```\n\nInvoked when a callback interface has died.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------------------|------------------------------------------------------------------------------------------------------------|\n| `remoteCallbackList` | `RemoteCallbackList`: the list that the interface was registered with. This value cannot be `null`. \u003cbr /\u003e |\n| `deadInterface` | `E`: the interface that has died. \u003cbr /\u003e |\n| `cookie` | `Object`: the cookie specified on interface registration. This value may be `null`. \u003cbr /\u003e |"]]