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

# リッチ プレゼンスのサンプル コード

> ユーザー プレゼンスの取得、タイトルおよびデバイス変更の処理、XSAPI または REST による文字列の更新を扱う XBOX Live リッチ プレゼンスのサンプル コード インデックスです。

このセクションでは、リッチ プレゼンス文字列のサンプル コードを提供します。

## このセクションの内容

[ユーザーのプレゼンスの取得](/services/xbox-services/community/presence/how-to/live-getting-a-users-presence)
ユーザーのプレゼンスを取得するサンプル コードを提供します。

[タイトル プレゼンス変更の処理](/services/xbox-services/community/presence/how-to/live-handling-a-title-presence-change)
タイトル プレゼンスの変更を処理するためのサンプル コードを提供します。

[デバイス プレゼンス変更の処理](/services/xbox-services/community/presence/how-to/live-handling-a-device-presence-change)
デバイス プレゼンスの変更を処理するためのサンプル コードを提供します。

[XSAPI C を介したユーザーのプレゼンスの更新](/services/xbox-services/community/presence/how-to/live-updating-user-presence)
ユーザーのオンライン プレゼンス ステータスを設定するためのサンプル コードを提供します。

[REST を介したユーザーのプレゼンスの更新](/services/xbox-services/community/presence/how-to/live-updating-presence-rest)
リッチ プレゼンス文字列を更新するためのサンプル コードを提供します。


## Related topics

- [ハウツー](/ja-jp/services/xbox-services/community/presence/how-to/index.md)
- [リッチ プレゼンスの概要](/ja-jp/services/xbox-services/community/presence/live-presence-overview.md)
- [リッチ プレゼンスの概念](/ja-jp/services/xbox-services/community/presence/concepts/live-presence-concepts-nav.md)
- [リッチ プレゼンスのベスト プラクティス](/ja-jp/services/xbox-services/community/presence/concepts/live-presence-best-practices.md)
- [イベント ベースの実績のサンプル コード](/ja-jp/services/xbox-services/player-data/achievements/event-based/how-to/live-achievements-eb-howto-nav.md)
