Interfaces
CameraFrameSink
createCameraFrameSink's result: the handle, the posture, the pump.
Type Parameters
F
F extends FrameLike = FrameLike
Properties
image
readonly image: TgfxImage | null;null until the first frame mints the handle.
posture
readonly posture: CameraFramePosture;push
push: (frame: F) => void;Feed a frame in - a worklet, callable from the producer's frame thread.
Parameters
frame
F
Returns
void
Methods
dispose()
dispose(): void;Dispose the minted handle; an external registry entry is never evicted.
Returns
void