# ability\_state.h - [Overview](#section1491960134165626) - [Summary](#section1963130563165626) - [Enumerations](#enum-members) ## **Overview** **Related Modules:** [AbilityKit](abilitykit.md) **Description:** Declares ability-related functions, including ability lifecycle callbacks and functions for connecting to or disconnecting from Particle Abilities. As the fundamental unit of OpenHarmony applications, abilities are classified into [Feature](feature.md) Abilities and Particle Abilities. [Feature](feature.md) Abilities support the Page template, and Particle Abilities support the [Service](service.md) template. An ability using the Page template is called a Page ability for short and that using the [Service](service.md) template is called a [Service](service.md) ability. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Enumerations

Enumeration Name

Description

State { STATE_UNINITIALIZED, STATE_INITIAL, STATE_INACTIVE, STATE_ACTIVE, STATE_BACKGROUND }

Enumerates all lifecycle states that an ability will go through over the course of its lifetime.