# IAbilityConnection - [Overview](#section1831135900165631) - [Summary](#section1540980390165631) - [Data Fields](#pub-attribs) ## **Overview** **Related Modules:** [AbilityKit](AbilityKit.md) **Description:** Provides callbacks to be invoked when a remote [Service](Service.md) ability is connected or disconnected. ## **Summary** ## Data Fields
OnAbilityConnectDone )(ElementName *elementName, SvcIdentity *serviceSid, int resultCode, void *data) |
Called when a client is connected to a Service ability. |
OnAbilityDisconnectDone )(ElementName *elementName, int resultCode, void *data) |
Called after all connections to a Service ability are disconnected. |