Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Sites

ScanInfo

One scan of a site, as the portal lists it.

Declaration​

public readonly struct ScanInfo : ValueType

Constructors​

public ScanInfo(string id, string name, ScanType scanType, ScanStatus scanStatus, double durationSeconds, long captureTimestamp, long createdTimestamp, double latitude, double longitude, bool hasLocation, long totalSize, bool hasThumbnail, bool hasPreview, string userId)

Parameters​

NameTypeSummary
idstring
-
namestring
-
scanTypeScanType
-
scanStatusScanStatus
-
durationSecondsdouble
-
captureTimestamplong
-
createdTimestamplong
-
latitudedouble
-
longitudedouble
-
hasLocationbool
-
totalSizelong
-
hasThumbnailbool
-
hasPreviewbool
-
userIdstring
-

Properties​

NameTypeSummary
readonly CaptureTimestamplong
Earliest capture time in Unix seconds, or 0 if unknown.
readonly CreatedTimestamplong
Record creation time in Unix seconds, or 0 if unknown.
readonly DurationSecondsdouble
Total capture length in seconds.
For a chunked scan this sums every chunk, while opening the scan for playback plays
only the first.
readonly HasLocationbool
Whether the scan has a capture location.
readonly HasPreviewbool
Whether the scan has a preview video.
readonly HasThumbnailbool
Whether the scan has a thumbnail image.
readonly Idstring
The unique identifier for the scan.
readonly Latitudedouble
The latitude of the capture location.
Only valid if HasLocation is true.
readonly Longitudedouble
The longitude of the capture location.
Only valid if HasLocation is true.
readonly Namestring
The scan's display name.
readonly ScanStatusScanStatus
Where the scan is in upload and processing.
readonly ScanTypeScanType
The scan type.
readonly TotalSizelong
Total size of the scan's capture files in bytes.
readonly UserIdstring
ID of the user who uploaded the scan; empty for a community scan.