Skip to content
Select language:English

ARDK 1.5.6

fun requestCameraFrameMono(callback: (reader: CameraFrameReader) -> Unit)

This function is similar to requestCameraFrame, but it requests a monochromatic camera frame.

Parameters

callback

A function invoked with:

  • data: The raw byte array of the camera frame.

  • width/height: Dimensions of the captured image in pixels.

  • pose: The Trans3f representing the device position and orientation in the AR session space.