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

# PresenceRecord (JSON)

> PresenceRecord (JSON)

# PresenceRecord (JSON)

단일 사용자의 온라인 상태에 대한 데이터입니다.

## PresenceRecord

PresenceRecord 개체는 다음 사양을 가집니다.

| 멤버 | 형식 | 설명 |
| - | - | - |
| xuid | string | 대상 사용자의 XBOX 사용자 ID(XUID)입니다. 제공된 프레즌스 데이터는 이 사용자에 대한 것입니다. |
| devices | [DeviceRecord](https://devdocs.xbox.com/ko/reference/live/rest/json/json-devicerecord) 배열 | 사용자의 장치 레코드 목록입니다. |
| state | string | XBOX LIVE에서 사용자의 활동입니다. 가능한 값: <ul><li>Online: 사용자가 하나 이상의 장치 레코드를 가집니다.</li><li>Away: 사용자가 XBOX LIVE에 로그인되어 있지만 어떤 타이틀에서도 활성 상태가 아닙니다.</li><li>Offline: 사용자가 어떤 장치에도 존재하지 않습니다.</li></ul> |
| lastSeen | [LastSeenRecord](https://devdocs.xbox.com/ko/reference/live/rest/json/json-lastseenrecord) | 마지막으로 본 정보는 사용자에게 유효한 DeviceRecord가 없는 경우에만 사용할 수 있습니다. 개체가 캐시에서 제거된 경우 영구 저장소가 없기 때문에 해당 데이터가 반환되지 않을 수 있습니다. |

## 샘플 JSON 구문

```json theme={null}
{
  xuid:"0123456789",
  state:"online",
  devices:
  [{
    type:"D",
    titles:
    [{
      id:"12341234",
      name:"Contoso 5",
      state:"active",
      placement:"fill",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Team Deathmatch on Nirvana"
      }
    },
    {
      id:"12341235",
      name:"Contoso Waypoint",
      timestamp:"2012-09-17T07:15:23.4930000",
      placement:"snapped",
      state:"active",
      activity:
      {
        richPresence:"Using radar"
      }
    }]
  },
  {
    type:"W8",
    titles:
    [{
      id:"23452345",
      name:"Contoso Gamehelp",
      state:"active",
      placement:"full",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Nirvana page"
      }
    }]
  }]
}

```

## 함께 보기

##### 상위

[JSON(JavaScript Object Notation) 개체 참조](https://devdocs.xbox.com/ko/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### 참조

[POST (/users/batch)](https://devdocs.xbox.com/ko/reference/live/rest/uri/presence/uri-usersbatchpost)

[GET (/users/me)](https://devdocs.xbox.com/ko/reference/live/rest/uri/presence/uri-usersmeget)

[DELETE (/users/xuid({xuid})/devices/current/titles/current)](https://devdocs.xbox.com/ko/reference/live/rest/uri/presence/uri-usersxuiddevicescurrenttitlescurrentdelete)

[GET (/users/xuid({xuid}))](https://devdocs.xbox.com/ko/reference/live/rest/uri/presence/uri-usersxuidget)


## Related topics

- [XblSocialManagerPresenceRecordIsUserPlayingTitle](https://devdocs.xbox.com/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerpresencerecordisuserplayingtitle.md)
- [Updating a user's Presence via REST](https://devdocs.xbox.com/services/xbox-services/community/presence/how-to/live-updating-presence-rest.md)
