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

ソーシャル マネージャーがプレゼンス サービスから 30 秒ごとにポーリングを行うかどうかを設定します。

## 構文

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

### パラメーター

*user*   \_In\_\
型: XblUserHandle

ポーリングを有効にする対象の XBOX Live ユーザー。

*shouldEnablePolling*   \_In\_\
型: bool

ポーリングを有効にするかどうか。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻り値コード。

## 要件

**ヘッダー:** social\_manager\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [XblSocialManagerPresenceTitleRecord](/ja-jp/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord.md)
- [XblPresenceRichPresenceIds](/ja-jp/reference/live/xsapi-c/presence_c/structs/xblpresencerichpresenceids.md)
- [XblSocialManagerPresenceRecord](/ja-jp/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord.md)
- [XblPresenceSetPresenceAsync](/ja-jp/reference/live/xsapi-c/presence_c/functions/xblpresencesetpresenceasync.md)
- [XblSocialManagerPresenceRecordIsUserPlayingTitle](/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerpresencerecordisuserplayingtitle.md)
