# Glasses SDK

The Glasses SDK is for applications running on Rokid Glass3. It acts as the device-side capability layer for media capture, voice, recognition, messaging, device state, Bluetooth, and P2P.

## When to Use This Page

| Scenario | Recommended entry |
| --- | --- |
| Initialize the SDK in a glasses app | [Initialization and connection](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_1-初始化sdk参考) |
| Capture photos, videos, audio, or use media features | [Camera and media](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_4-获取媒体管理模块) |
| Exchange messages or files with the phone side | [Messaging and files](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_5-获取消息管理模块) |
| Integrate ASR, TTS, or AI chat | [Voice and AI](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_3-ai问答) |
| Use face, vehicle plate, or other recognition features | [Recognition](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_7-获取人-车检测管理模块-人脸只扣图不检测) |

## Integration Order

1. Read [SDK overview](../getting-started/接入指南.md) to understand the boundary between Glasses SDK and Phone SDK.
2. Follow [Quick start](../getting-started/快速开始.md) to prepare the environment and add dependencies. To run the official Demo, open the [Demo running guide](/en/downloads/demo-guide.md).
3. Find a similar scenario in [Code samples](/en/downloads/samples.md), then return to the API reference for details.

## API Reference

| Module | Entry |
| --- | --- |
| Initialization and connection | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_1-初始化sdk参考) |
| Camera and media | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_4-获取媒体管理模块) |
| Device and system | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_11-获取device管理模块) |
| Messaging and files | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_5-获取消息管理模块) |
| Voice and AI | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_3-ai问答) |
| Recognition | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_7-获取人-车检测管理模块-人脸只扣图不检测) |
| Bluetooth and ring | [View APIs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md#_8-获取经典蓝牙管理模块) |
| Full API reference | [View full docs](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md) |

## Samples

- [View all code samples](/en/downloads/samples.md)
- [Glasses SDK photo, video, audio, and AI](../../代码示例/30-media/01-眼镜端-SDK-拍照录像录音与-AI.md)
- [Glasses TTS and ASR](../../代码示例/35-voice-ai/02-眼镜端-TTS-与-ASR.md)
- [Glasses AI Chat](../../代码示例/35-voice-ai/03-眼镜端-AI-Chat.md)

## Related Resources

If you are not sure which side owns an interface, start from [Capability scenarios](../scenarios/). If you already know the interface name, open the [full API reference](../api-reference/Glass3%20%20SDK(眼镜端)%20API文档.md) and search directly.
