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

SiteInfo

Represents site information from the Sites Manager service.

Declaration​

data class SiteInfo

Constructors​

constructor(id: String, name: String, status: String, organizationId: String, latitude: Double, longitude: Double, hasLocation: Boolean, parentSiteId: String?)

Parameters​

NameTypeSummary
idString
-
nameString
-
statusString
-
organizationIdString
-
latitudeDouble
-
longitudeDouble
-
hasLocationBoolean
-
parentSiteIdString?
-

Properties​

NameTypeSummary
hasLocationBoolean
Indicates whether [latitude] and [longitude] are valid.
idString
Site identifier.
latitudeDouble
Latitude coordinate (valid only if [hasLocation] is true).
longitudeDouble
Longitude coordinate (valid only if [hasLocation] is true).
nameString
Site name.
organizationIdString
Organization identifier that owns this site.
parentSiteIdString?
Parent site identifier, or null if no parent site.
statusString
Site status (e.g., "ACTIVE").