> For the complete documentation index, see [llms.txt](https://developers-apps-in-toss.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/device.md).

# Device

디바이스의 로케일·OS, 앨범·카메라·연락처·위치, 햅틱, URL 열기 기능을 제공해요.

### API 목록

| API                        | 설명                               | 상세                                                                                     |
| -------------------------- | -------------------------------- | -------------------------------------------------------------------------------------- |
| `Device.locale`            | 사용자 로케일 정보예요                     | [locale](/documentation/sdk/domains-api/device/device.locale.md)                       |
| `Device.os`                | 현재 플랫폼(`ios`/`android`) 정보예요     | [os](/documentation/sdk/domains-api/device/device.os.md)                               |
| `Device.getPhotos`         | 앨범에서 사진 목록을 불러와요                 | [getPhotos](/documentation/sdk/domains-api/device/device.getphotos.md)                 |
| `Device.getContacts`       | 연락처 목록을 페이지 단위로 가져와요             | [getContacts](/documentation/sdk/domains-api/device/device.getcontacts.md)             |
| `Device.getLocation`       | 디바이스의 현재 위치 정보를 가져와요             | [getLocation](/documentation/sdk/domains-api/device/device.getlocation.md)             |
| `Device.openCamera`        | 카메라를 실행해 촬영한 이미지를 반환해요           | [openCamera](/documentation/sdk/domains-api/device/device.opencamera.md)               |
| `Device.getAlbumItems`     | 앨범에서 사진·동영상을 선택해 가져와요            | [getAlbumItems](/documentation/sdk/domains-api/device/device.getalbumitems.md)         |
| `Device.triggerHaptic`     | 디바이스에 햅틱 진동을 일으켜요                | [triggerHaptic](/documentation/sdk/domains-api/device/device.triggerhaptic.md)         |
| `Device.subscribeLocation` | 위치 변경을 계속 감지하고 콜백을 실행해요          | [subscribeLocation](/documentation/sdk/domains-api/device/device.subscribelocation.md) |
| `Device.openURL`           | 지정한 URL을 기기의 기본 브라우저나 관련 앱에서 열어요 | [openURL](/documentation/sdk/domains-api/device/device.openurl.md)                     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/device.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
