> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# real_time_activity_c

> real_time_activity_c

# real\_time\_activity\_c

## Functions

| Function                                                                                                                                                              | Description                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [XblRealTimeActivityAddConnectionStateChangeHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityaddconnectionstatechangehandler)       | Registers a handler function to receive a notification that is sent when the client service loses or gains connectivity to the real time activity service. |
| [XblRealTimeActivityAddResyncHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityaddresynchandler)                                     | Registers a handler function to receive a notification that is sent when there is a resync message from the real time activity service.                    |
| [XblRealTimeActivityConnectionStateChangeHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityconnectionstatechangehandler)             | Handler function for when the client service loses or gains connectivity to the real time activity service.                                                |
| [XblRealTimeActivityRemoveConnectionStateChangeHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityremoveconnectionstatechangehandler) | Unregisters an event handler for real time activity connectivity state changes.                                                                            |
| [XblRealTimeActivityRemoveResyncHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityremoveresynchandler)                               | Unregisters an event handler for real time activity resync notifications.                                                                                  |
| [XblRealTimeActivityResyncHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityresynchandler)                                           | Handler function for when there is a resync message from the real time activity service.                                                                   |
| [XblRealTimeActivitySubscriptionErrorHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivitysubscriptionerrorhandler)                     | Handler function for when there is an error in the real time activity service.                                                                             |

## Handles

| Handle                                                                                                                              | Description          |
| ----------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| [XblRealTimeActivitySubscriptionHandle](/reference/live/xsapi-c/real_time_activity_c/handles/xblrealtimeactivitysubscriptionhandle) | Subscription handle. |

## Enumerations

| Enumeration                                                                                                                     | Description                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [XblRealTimeActivityConnectionState](/reference/live/xsapi-c/real_time_activity_c/enums/xblrealtimeactivityconnectionstate)     | Enumeration for the possible connection states of the connection to the real-time activity service.        |
| [XblRealTimeActivitySubscriptionState](/reference/live/xsapi-c/real_time_activity_c/enums/xblrealtimeactivitysubscriptionstate) | Enumeration for the possible states of a statistic subscription request to the real-time activity service. |


## Related topics

- [XblRealTimeActivitySubscriptionState](/reference/live/xsapi-c/real_time_activity_c/enums/xblrealtimeactivitysubscriptionstate.md)
- [XblRealTimeActivityResyncHandler](/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityresynchandler.md)
- [XblRealTimeActivityConnectionState](/ja-jp/reference/live/xsapi-c/real_time_activity_c/enums/xblrealtimeactivityconnectionstate.md)
- [XblRealTimeActivityAddResyncHandler](/ko/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityaddresynchandler.md)
- [XblRealTimeActivityRemoveResyncHandler](/ko/reference/live/xsapi-c/real_time_activity_c/functions/xblrealtimeactivityremoveresynchandler.md)
