ability_state.h

Overview

Related Modules:

AbilityKit

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 Abilities and Particle Abilities. Feature Abilities support the Page template, and Particle Abilities support the Service template. An ability using the Page template is called a Page ability for short and that using the Service template is called a Service 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.