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

Vps2LocalizedAsset


Declaration​

data class Vps2LocalizedAsset

Summary​

The VPS asset the device is localized to. Identifies the asset behind the most recent successful visual localization. Both IDs name the site's VPS map asset: [assetId] is never the ID of a mesh, splat, or other non-VPS asset of the site. Neither ID is human readable. Resolve names through the sites API: SitesSession.requestSiteInfo and SitesSession.requestAssetInfo.


Constructors​

constructor(siteId: String, assetId: String, areaId: String? = null)

Parameters​

NameTypeSummary
siteIdString
-
assetIdString
-
areaIdString?
-

Properties​

NameTypeSummary
areaIdString?
Identifier of subarea in the site localized, or null when the asset has no subareas.
assetIdString
The identifier of the VPS map asset.
siteIdString
The identifier of the site the asset belongs to.