react-native-vision-cameraInterfaces
RuntimeThreadProvider
interface RuntimeThreadProviderProvides an implementation for a separate Runtime/Thread. For example, Worklets.
Methods
bindUIUpdatesToController()
bindUIUpdatesToController(
value: SharedValue<number>,
controller: CameraController,
funcName: "setExposureBias" | "setZoom"): ListenerSubscriptionBinds the given SharedValue to the
CameraController on the UI Thread, and
continuously update the controller via the funcName.
createAsyncRunner()
createAsyncRunner(): AsyncRunnerCreate a new AsyncRunner. An
AsyncRunner can be used to asynchronously
run code in a Frame Processor.
See
createRuntimeForThread()
createRuntimeForThread(thread: NativeThread): RuntimeThreadCreates a new Runtime (exposed as a RuntimeThread)
for the given NativeThread.