ability_manager.h

Overview

Related Modules:

AbilityKit

Description:

Declares ability-related functions, including functions for starting, stopping, connecting to, and disconnecting from an ability, registering a callback, and unregistering a callback.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

StartAbility (const Want want)

int 

Starts an ability based on the specified Want information.

StopAbility (const Want want)

int 

Stops an ability based on the specified Want information.

ConnectAbility (const Want want, const IAbilityConnection conn, void data)

int 

Connects to a Service ability based on the specified Want information.

DisconnectAbility (const IAbilityConnection conn)

int 

Disconnects from a Service ability.