On this page←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.objectdetection com.nianticspatial.nsdk.objectdetection←classObjectDetectionSession com.nianticspatial.nsdk.objectdetection.ObjectDetectionSession Function onDestroy onDestroy Declaration override fun onDestroy()