> ## 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.

# XblSocialManagerSetRichPresencePollingStatus

> XblSocialManagerSetRichPresencePollingStatus

# XblSocialManagerSetRichPresencePollingStatus

Indique si le gestionnaire social doit interroger le service de présence toutes les 30 secondes.

## Syntaxe

```cpp theme={null}
HRESULT XblSocialManagerSetRichPresencePollingStatus(  
         XblUserHandle user,  
         bool shouldEnablePolling  
)  
```

### Paramètres

*user*   \_In\_\
Type : XblUserHandle

Utilisateur XBOX Live pour lequel activer l'interrogation.

*shouldEnablePolling*   \_In\_\
Type : bool

Indique si l'interrogation doit être activée ou non.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT pour cette opération d'API.

## Configuration requise

**En-tête :** social\_manager\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[social\_manager\_c](/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members)


## Related topics

- [XblSocialManagerSetRichPresencePollingStatus](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagersetrichpresencepollingstatus.md)
- [XblSocialManagerPresenceTitleRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord.md)
- [Presence](/ko/services/xbox-services/community/presence/index.md)
- [XblSocialManagerPresenceRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord.md)
- [Overview of Social features](/services/xbox-services/community/live-social-overview.md)
