Lifecycle (core)

Prev Next

Lifecycle Schema 1.0.0 | Core SDK

Overview

undefined

Types

CloseReason

The application close reason

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


LifecycleState

The application lifecycle state

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