ScanInfo
One scan of a site, as the portal lists it.
Declaration
public readonly struct ScanInfo : ValueTypeConstructors
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
| Name | Type | Summary |
|---|---|---|
| id | string | - |
| name | string | - |
| scanType | ScanType | - |
| scanStatus | ScanStatus | - |
| durationSeconds | double | - |
| captureTimestamp | long | - |
| createdTimestamp | long | - |
| latitude | double | - |
| longitude | double | - |
| hasLocation | bool | - |
| totalSize | long | - |
| hasThumbnail | bool | - |
| hasPreview | bool | - |
| userId | string | - |
Properties
| Name | Type | Summary |
|---|---|---|
| readonly CaptureTimestamp | long | Earliest capture time in Unix seconds, or 0 if unknown. |
| readonly CreatedTimestamp | long | Record creation time in Unix seconds, or 0 if unknown. |
| readonly DurationSeconds | double | Total capture length in seconds. For a chunked scan this sums every chunk, while opening the scan for playback plays only the first. |
| readonly HasLocation | bool | Whether the scan has a capture location. |
| readonly HasPreview | bool | Whether the scan has a preview video. |
| readonly HasThumbnail | bool | Whether the scan has a thumbnail image. |
| readonly Id | string | The unique identifier for the scan. |
| readonly Latitude | double | The latitude of the capture location. Only valid if HasLocation is true. |
| readonly Longitude | double | The longitude of the capture location. Only valid if HasLocation is true. |
| readonly Name | string | The scan's display name. |
| readonly ScanStatus | ScanStatus | Where the scan is in upload and processing. |
| readonly ScanType | ScanType | The scan type. |
| readonly TotalSize | long | Total size of the scan's capture files in bytes. |
| readonly UserId | string | ID of the user who uploaded the scan; empty for a community scan. |