Skip to main content
API Reference com.nianticspatial.nsdk

WPSConfig

Configuration structure for the WPS session. This class allows you to customize WPS behavior including smoothing and framerate settings. In most cases, the default values provide optimal performance and should not be changed. ### Usage kotlin val config = WPSConfig( enableSmoothing = true, framerate = 120 ) wpsSession.configure(config)

Declaration

class WPSConfig

Properties

NameTypeSummary
enableSmoothingBoolean
Whether to enable smoothing. Enables smoothing which both aggregates WPS estimations over time and interpolates between them. This provides more stable and reliable positioning results. Should be kept true unless debugging. Default: true
framerateInt
The framerate of the WPS session. Framerate at which the WPS system takes in input. WPS is not a high expense system so keeping the framerate high is recommended for quality. Default: 120