Lifecycle (discovery)

    Lifecycle (discovery)


    Article summary


    title: Lifecycle

    version: 1.2.0
    layout: default
    sdk: discovery

    # Lifecycle


    Version Lifecycle 0.0.0-unknown.0

    Table of Contents

    Overview

    undefined

    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',
    },
    
    


    Was this article helpful?