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

AssetInfo

Information about an asset, and the areas it is split into.

Declaration​

public readonly struct AssetInfo : ValueType

Constructors​

Constructor​

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)

Parameters​

NameTypeSummary
idstring
-
assetTimestamplong
-
siteIdstring
-
namestring
-
descriptionstring
-
assetTypeAssetType
-
assetStatusAssetStatusType
-
deploymentAssetDeploymentType
-
meshDataNullable<AssetMeshData>
-
splatDataNullable<AssetSplatData>
-
vpsDataNullable<AssetVpsData>
-
pipelineJobIdstring
-
pipelineJobStatusAssetPipelineJobStatus
-
sourceScanIdsIReadOnlyList<string>
-

Overload​

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, IReadOnlyList<AssetArea> areas)

Parameters​

NameTypeSummary
idstring
-
assetTimestamplong
-
siteIdstring
-
namestring
-
descriptionstring
-
assetTypeAssetType
-
assetStatusAssetStatusType
-
deploymentAssetDeploymentType
-
meshDataNullable<AssetMeshData>
-
splatDataNullable<AssetSplatData>
-
vpsDataNullable<AssetVpsData>
-
pipelineJobIdstring
-
pipelineJobStatusAssetPipelineJobStatus
-
sourceScanIdsIReadOnlyList<string>
-
areasIReadOnlyList<AssetArea>
-

Properties​

NameTypeSummary
readonly AreasIReadOnlyList<AssetArea>
Every area of this asset.
An asset mapped in a single pass has exactly one. Empty while the asset's job has
produced no output yet.
readonly AssetStatusAssetStatusType
DEPRECATED - always Unspecified.
readonly AssetTimestamplong
The Unix timestamp (in seconds) from the asset key, or 0 if unset.
readonly AssetTypeAssetType
The asset type - determines which fields of Areas are meaningful.
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>
DEPRECATED - read Areas[0] instead. Only non-null when
AssetType is Mesh and Areas is
non-empty, and it describes that first area only.
readonly Namestring
The asset's display name.
readonly PipelineJobIdstring
DEPRECATED - always null. The portal has no source for it; retained so existing
callers keep compiling.
readonly PipelineJobStatusAssetPipelineJobStatus
DEPRECATED - read JobStatus on each entry of
Areas. The portal leaves the asset-level status unset, since a job
belongs to an area, so expect Unspecified.
readonly SiteIdstring
The site ID this asset belongs to.
readonly SourceScanIdsIReadOnlyList<string>
DEPRECATED - always empty. The portal has no source for it; retained so existing
callers keep compiling.
readonly SplatDataNullable<AssetSplatData>
DEPRECATED - read Areas[0] instead. Only non-null when
AssetType is Splat and Areas is
non-empty.
readonly VpsDataNullable<AssetVpsData>
DEPRECATED - read Areas[0] instead. Only non-null when
AssetType is VpsInfo and Areas is
non-empty.

Methods​

NameTypeSummary
ToStringstring
-