--- title: "Lifecycle (discovery)" slug: "170-discovery-lifecycle-schemas" updated: 2025-12-09T17:44:14Z published: 2025-12-09T18:02:06Z canonical: "docs.developer.comcast.com/170-discovery-lifecycle-schemas" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.developer.comcast.com/llms.txt > Use this file to discover all available pages before exploring further. # Lifecycle (discovery) **Lifecycle Schema 1.7.0 | Discovery SDK** ## Types ### CloseReason The application close reason ``` CloseReason: { REMOTE_BUTTON: 'remoteButton', USER_EXIT: 'userExit', DONE: 'done', ERROR: 'error', }, ``` --- ### LifecycleState The application lifecycle state ``` LifecycleState: { INITIALIZING: 'initializing', INACTIVE: 'inactive', FOREGROUND: 'foreground', BACKGROUND: 'background', UNLOADING: 'unloading', SUSPENDED: 'suspended', }, ``` ---