RuntimeThread

interface RuntimeThread

An implementation for a separate Runtime/Thread. For example, Worklets.

Methods

setOnDepthFrameCallback(...)

setOnDepthFrameCallback(depthOutput: CameraDepthFrameOutput, callback: 
  | ((depth: Depth) => void)
  | undefined): void

setOnFrameCallback(...)

setOnFrameCallback(frameOutput: CameraFrameOutput, callback: 
  | ((frame: Frame) => void)
  | undefined): void

On this page