Forward distance measurement

I’m looking for a way to get the distance to an object in front of the drone, ideally with the GroundSDK. Someone had asked about this before but there is no answer: Distance measurement in Anafi Ai.

I seem to remember seeing something about using the AirSDK to get this distance measurement, but now I can’t find the reference.

If this is the case, is there a way to execute a single AirSDK command without having to manage an entirely separate codebase?