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

AssetInfo


Declaration​

public readonly struct AssetInfo : ValueType

Summary​

Information about an asset. Maps to proto messages AssetRecord, AssetData, and AssetComputedValues.


Constructors​

public AssetInfo(string id, long assetTimestamp, string siteId, string name, string description, AssetType assetType, AssetStatusType assetStatus, AssetDeploymentType deployment, Nullable<AssetMeshData> meshData, Nullable<AssetSplatData> splatData, Nullable<AssetVpsData> vpsData, string pipelineJobId, AssetPipelineJobStatus pipelineJobStatus, IReadOnlyList<string> sourceScanIds)

Properties​

NameTypeSummary
readonly AssetStatusAssetStatusType
The asset status.
readonly AssetTimestamplong
The Unix timestamp (in seconds) from the asset key, or 0 if unset.
readonly AssetTypeAssetType
The asset type - determines which typed asset data is present.
readonly DeploymentAssetDeploymentType
The asset deployment type.
readonly Descriptionstring
The asset's description, or null if not set.
readonly Idstring
The unique identifier for the asset.
readonly MeshDataNullable<AssetMeshData>
Mesh-specific data. Only valid when AssetType is Mesh.
readonly Namestring
The asset's display name.
readonly PipelineJobIdstring
The pipeline job ID associated with this asset, or null if not applicable.
readonly PipelineJobStatusAssetPipelineJobStatus
The pipeline job status.
readonly SiteIdstring
The site ID this asset belongs to.
readonly SourceScanIdsIReadOnlyList<string>
The source scan IDs used to create this asset.
readonly SplatDataNullable<AssetSplatData>
Splat-specific data. Only valid when AssetType is Splat.
readonly VpsDataNullable<AssetVpsData>
VPS-specific data. Only valid when AssetType is VpsInfo.

Methods​

NameTypeSummary
ToStringstring
-