Skip to main content
←API Reference ←com.nianticspatial.nsdk ←NSDKSession

update


Declaration​

fun update()

Summary​

Pulls sensor samples from dataSource and submits a frame for native processing.
No-op if dataSource is null or not ready.


Call this once per camera frame. Because this is an expensive operation, consider
throttling the calls if you notice degraded app performance.