Skip to content

Lifecycle

Kevin Pearson edited this page May 3, 2023 · 1 revision

title: Lifecycle

Lifecycle


Version Lifecycle 0.0.0-unknown.0

Table of Contents

Overview

undefined

Types

LifecycleState

The application lifecycle state

enum LifecycleState {
	INITIALIZING = 'initializing',
	INACTIVE = 'inactive',
	FOREGROUND = 'foreground',
	BACKGROUND = 'background',
	UNLOADING = 'unloading',
	SUSPENDED = 'suspended'
}

CloseReason

The application close reason

enum CloseReason {
	REMOTE_BUTTON = 'remoteButton',
	USER_EXIT = 'userExit',
	DONE = 'done',
	ERROR = 'error'
}

Clone this wiki locally