Skip to main content
API Reference com.nianticspatial.nsdk.objectdetection ObjectDetectionSession

getLatestDetections

Get the latest object detection results.

Declaration

fun getLatestDetections(): NSDKResult<ObjectDetectionResult, AwarenessStatus>

Summary

Get the latest object detection results.

Returns

[NSDKResult] containing an [ObjectDetectionResult] if available, or an [AwarenessStatus] containing information about the error.


ON THIS PAGE