2026-08-06 23:54:23 +02:00

20 lines
468 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/** Lifecycle state of a running (or previously running) app instance. Every app instance owns
* its own task for its entire lifetime - there is no "saved, task given up" state. */
typedef enum {
APP_INSTANCE_STATE_STARTING,
APP_INSTANCE_STATE_ACTIVE,
APP_INSTANCE_STATE_STOPPING,
APP_INSTANCE_STATE_STOPPED,
} AppInstanceState;
#ifdef __cplusplus
}
#endif