Skip to main content
API Reference com.nianticspatial.nsdk.vps VPSSession

getSessionId

Gets the unique session identifier for this VPS session. The session identifier can be used to distinguish between different VPS sessions, useful for debugging. The ID only exists after at least one anchor has been created via [createAnchor] or [trackAnchor].

Declaration

fun getSessionId(): UUID?

Summary

Gets the unique session identifier for this VPS session. The session identifier can be used to distinguish between different VPS sessions, useful for debugging. The ID only exists after at least one anchor has been created via [createAnchor] or [trackAnchor].

Returns

The session identifier if available, null if otherwise.


ON THIS PAGE