ScanInfo
One scan of a site, as the portal lists it.
Declaration
data class ScanInfoConstructors
constructor(id: String, name: String, scanType: ScanType, scanStatus: ScanStatus, durationSeconds: Double, captureTimestamp: Long, createdTimestamp: Long, latitude: Double, longitude: Double, hasLocation: Boolean, totalSize: Long, hasThumbnail: Boolean, hasPreview: Boolean, userId: String)
Parameters
| Name | Type | Summary |
|---|---|---|
| id | String | - |
| name | String | - |
| scanType | ScanType | - |
| scanStatus | ScanStatus | - |
| durationSeconds | Double | - |
| captureTimestamp | Long | - |
| createdTimestamp | Long | - |
| latitude | Double | - |
| longitude | Double | - |
| hasLocation | Boolean | - |
| totalSize | Long | - |
| hasThumbnail | Boolean | - |
| hasPreview | Boolean | - |
| userId | String | - |
Properties
| Name | Type | Summary |
|---|---|---|
| captureTimestamp | Long | Earliest capture time in Unix seconds, or 0 if unknown. |
| createdTimestamp | Long | Record creation time in Unix seconds, or 0 if unknown. |
| 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. |
| hasLocation | Boolean | Indicates whether [latitude] and [longitude] are valid. |
| hasPreview | Boolean | The scan has a preview video. |
| hasThumbnail | Boolean | The scan has a thumbnail image. |
| id | String | Scan identifier. |
| latitude | Double | Capture latitude (valid only if [hasLocation] is true). |
| longitude | Double | Capture longitude (valid only if [hasLocation] is true). |
| name | String | Display name. |
| scanStatus | ScanStatus | Where the scan is in upload and processing. |
| scanType | ScanType | Scan type; [ScanType.VALIDATION] scans are the ones playback opens. |
| totalSize | Long | Total size of the scan's capture files in bytes. |
| userId | String | ID of the user who uploaded the scan; empty for a community scan. |