Camera
Show users their physical surroundings with passthrough, control passthrough dimming, and use camera features such as light estimation on Android XR devices.
On Android XR devices, AR Foundation's camera subsystem controls passthrough. These pages supplement the AR Foundation Camera manual, and only contain information about APIs where Google's Android XR runtime exhibits platform-specific behavior.
Tip
When developing an AR app, refer to both the AR Foundation documentation as well as the required packages for each platform you support.
| Topic | Description |
|---|---|
| Camera feature support reference | Find which optional AR Foundation camera features, such as light estimation, you can use on Android XR devices, and which features, such as image capture, this package doesn't support. |
| Set up passthrough | Show users their physical surroundings behind your virtual content on Android XR devices. |
| Introduction to passthrough dimming | Understand how Android XR dims passthrough by default, and how device type and runtime support affect dimming in your app. |
| Control passthrough dimming | Read and request the passthrough dimming level from your app, and respond when the system changes it. |
| Request light estimation permission | Request the Android system permission that light estimation requires before you enable the AR Camera Manager component. |
Additional resources
- Camera (AR Foundation)
- Set up your scene
- Permissions