setDepthOutput abstract method
Starts / stops the depth stream (depthStream) for the session.
Android: a DEPTH16 stream on cameras with the DEPTH_OUTPUT capability
(reopens the session); iOS: AVCaptureDepthDataOutput (TrueDepth / dual /
LiDAR cameras). Throws DEPTH_UNSUPPORTED: when the device has no depth
(CameraFormat.supportsDepthCapture). enabled: 1 = on, 0 = off.
Implementation
@nitroNativeAsync
Future<void> setDepthOutput(int textureId, int enabled);