ARGear SDK Documentations
Search…
⌃K
ARGear SDK Documentations
Search…
⌃K
Introduction
Android
1. Quickstart
2. Configuration Settings
3. ARGear Overview
4. ARGSession
5. Camera
6. Rendering
7. CMS Service
8. Download Contents
9. Set Contents
10. Media
11. Switch Camera Face
12. Enable Debugging Mode
13. ARCore Connect API
14. API Reference
iOS
1. Quickstart
2. Configuration Settings
3. ARGear Overview
4. ARGSession
5. Camera
6. Rendering
7. CMS Service
8. Download Contents
9. Set Contents
10. Media
11. Switch Camera Face
12. Enable Debugging Mode
13. ARKit Connect API
14. API Reference
Unity
1. Quickstart
2. Configuration Settings
3. ARGear Plugin Overview
4. ARGearManager
5. ARGearCamera
6. CMS Service
7. Download Contents
8. Set Contents
9. Switch Camera Face
10. Enable Debugging Mode
11. API Reference
Powered By GitBook

11. Switch Camera Face

To switch camera face from front to rear or vice-versa, ARGSession must be paused first, change camera face, and resume the ARGSession in that order.
Sample code of flipping camera face is written below.
Java
Kotlin
argsession.pause();
camera.changeCameraFacing();
argsession.resume();
argsession.pause()
camera.changeCameraFacing()
argsession.resume()
​
​
Android - Previous
10. Media
Next - Android
12. Enable Debugging Mode
Last modified 3yr ago
Copy link