ability_connection-h.md 1.6 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
# ability\_connection.h<a name="ZH-CN_TOPIC_0000001055358066"></a>

## **Overview**<a name="section1487342982093523"></a>

**Related Modules:**

[AbilityKit](AbilityKit.md)

**Description:**

Declares callbacks to be invoked when a remote  [Service](Service.md)  ability is connected or disconnected. 

You must override the callbacks provided in  [IAbilityConnection](IAbilityConnection.md)  to implement your processing logic for  [Service](Service.md)  connection and disconnection.

**Since:**

1.0

**Version:**

1.0

## **Summary**<a name="section1406688553093523"></a>

## Data Structures<a name="nested-classes"></a>

<a name="table304367275093523"></a>
<table><thead align="left"><tr id="row739706074093523"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p204211260093523"><a name="p204211260093523"></a><a name="p204211260093523"></a>Data Structure Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1808184699093523"><a name="p1808184699093523"></a><a name="p1808184699093523"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row1016627510093523"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1606363828093523"><a name="p1606363828093523"></a><a name="p1606363828093523"></a><a href="IAbilityConnection.md">IAbilityConnection</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p2063580311093523"><a name="p2063580311093523"></a><a name="p2063580311093523"></a>Provides callbacks to be invoked when a remote <a href="Service.md">Service</a> ability is connected or disconnected. </p>
</td>
</tr>
</tbody>
</table>