# DashcamSession Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.dashcam.DashcamSession/ DashcamSession > extends SessionBase --- ## Declaration class DashcamSession ## Summary A session for the dashcam feature. The dashcam continuously captures and buffers sensor data from the frame pipeline in a circular buffer. When triggered, the buffer contents are saved to disk as a V2 sequence. ## Basic Usage ```kotlin val dashcam = nsdkSession.dashcam.acquire() dashcam.configure(DashcamConfig(framerate = 5, maxBufferSeconds = 60)) dashcam.start() // ... later ... val result = dashcam.save() dashcam.close() ``` --- ## Properties | Name | Type | Summary | | --- | --- | --- | | ardkHandle | Long | - | --- ## Functions | Name | Type | Summary | | --- | --- | --- | | configure | void | Configure the dashcam feature. Must be called while dashcam is stopped. | | featureStatus | FeatureStatus | Reports the current feature status. | | getBufferInfo | DashcamBufferInfo | Get information about the current buffer state. | | onDestroy | void | - | | onInit | void | - | | save | AsyncResult | Asynchronously saves the current buffer and polls until the operation is complete.This function initiates the save operation and then suspends until the saveprocess finishes, either with a success, a failure, or a timeout. | | start | void | Start buffering frames. The dashcam will continuously capture andbuffer sensor data from the frame pipeline. | | stop | void | Stop buffering frames. The buffer is cleared.Saving is not allowed while stopped. | ---