Skip to main content
API Reference NSDK NSDKVps2Session

Configuration

Configuration for the VPS2 session.

Declaration

struct Configuration

Constructors

init(universalLocalizationEnabled: Bool? = nil, universalLocalizationRequestsPerSecond: Float? = nil, vpsMapLocalizationEnabled: Bool? = nil, initialVpsRequestsPerSecond: Float? = nil, continuousVpsRequestsPerSecond: Float? = nil, geolocationSmoothingEnabled: Bool? = nil, deviceMapLocalizationEnabled: Bool? = nil, deviceMapLocalizationFramerate: Int32? = nil)

Properties

NameTypeSummary
var continuousVpsRequestsPerSecondFloat
Number of VPS localization requests per second to send the server while
successfully localized on a VPS map.
var deviceMapLocalizationEnabledBool
Device maps are created by the on-device mapping feature. They do not provide
a georeference.
var deviceMapLocalizationFramerateInt32
Number of times per second to attempt localization on available device maps.
var geolocationSmoothingEnabledBool
If true, geolocation smoothing is enabled.
var initialVpsRequestsPerSecondFloat
Number of VPS localiziation requests per second to send the server prior to first
successful localization on a VPS map.
var universalLocalizationEnabledBool
If true, universal localization is enabled.
Universal localization provides geographic positioning that works anywhere
without requiring pre-scanning.
var universalLocalizationRequestsPerSecondFloat
Number of requests per second to send the cloud for universal localization.
var vpsMapLocalizationEnabledBool
If true, VPS map localization is enabled.
VPS maps only exist in pre-scanned areas. Your device must be localized on
a VPS map in order for VPS anchors to be placed with high accuracy.