# OHOS::AbilityContext - [Overview](#section1121371199165632) - [Summary](#section1151626780165632) - [Public Member Functions](#pub-methods) ## **Overview** **Related Modules:** [AbilityKit](AbilityKit.md) **Description:** Provides functions for starting and stopping an ability. The [Ability](OHOS-Ability.md) and [AbilitySlice](OHOS-AbilitySlice.md) classes are inherited from the **[AbilityContext](OHOS-AbilityContext.md)** class for you to call functions in this class for application development. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
StartAbility (const Want &want) |
|
StopAbility (const Want &want) |
|
|
Destroys this Ability. |
|
ConnectAbility (const Want &want, const IAbilityConnection &conn, void *data) |
Connects to a Service ability based on the specified Want information. |
DisconnectAbility (const IAbilityConnection &conn) |
Disconnects from a Service ability. |