Class HonuaScenePackageManifest
- Namespace
- Honua.Sdk.Abstractions.Scenes
- Assembly
- Honua.Sdk.Abstractions.dll
Offline 3D scene package manifest shared by server packaging and mobile runtimes.
public sealed class HonuaScenePackageManifest
- Inheritance
-
HonuaScenePackageManifest
- Inherited Members
Fields
CurrentSchemaVersion
Current manifest schema version supported by this SDK.
public const string CurrentSchemaVersion = "honua.scene-package.v1"
Field Value
Properties
Assets
Complete set of assets in the package.
public IReadOnlyList<HonuaScenePackageAsset> Assets { get; init; }
Property Value
Attribution
Attribution lines that must remain available offline.
public IReadOnlyList<string> Attribution { get; init; }
Property Value
AuthExpiresAtUtc
Expiry for download or refresh credentials. Public packages may omit this value.
public DateTimeOffset? AuthExpiresAtUtc { get; init; }
Property Value
ByteBudget
Declared package byte budget.
public HonuaScenePackageByteBudget? ByteBudget { get; init; }
Property Value
CreatedAtUtc
Server timestamp for package generation.
public DateTimeOffset? CreatedAtUtc { get; init; }
Property Value
DisplayName
Human-readable package name.
public string? DisplayName { get; init; }
Property Value
EditionGate
Required product edition for using the package.
public string? EditionGate { get; init; }
Property Value
Extent
WGS84 extent covered by the package.
public HonuaSceneBounds? Extent { get; init; }
Property Value
Lod
Level-of-detail or zoom range included in the package.
public HonuaScenePackageLod? Lod { get; init; }
Property Value
OfflineUseExpiresAtUtc
Time after which protected offline package content must not render without revalidation.
public DateTimeOffset? OfflineUseExpiresAtUtc { get; init; }
Property Value
PackageId
Stable package identifier used by local catalogs, resume, and eviction.
public string? PackageId { get; init; }
Property Value
SceneId
Scene identifier that this package renders offline.
public string? SceneId { get; init; }
Property Value
SchemaVersion
Manifest schema version. Must be CurrentSchemaVersion.
public string? SchemaVersion { get; init; }
Property Value
ServerRevision
Server scene revision used to invalidate previously downloaded packages.
public string? ServerRevision { get; init; }
Property Value
StaleAfterUtc
Time after which the package is stale but can still render with visible stale state.
public DateTimeOffset? StaleAfterUtc { get; init; }
Property Value
Methods
ParseJson(string)
Parses a UTF-8 JSON manifest document into the shared SDK model.
public static HonuaScenePackageManifest ParseJson(string json)
Parameters
jsonstring
Returns
Validate(DateTimeOffset)
Validates this manifest using package metadata only.
public HonuaScenePackageValidationResult Validate(DateTimeOffset utcNow)
Parameters
utcNowDateTimeOffset
Returns
Validate(DateTimeOffset, IEnumerable<string>?)
Validates this manifest and marks missing required local assets as partial.
public HonuaScenePackageValidationResult Validate(DateTimeOffset utcNow, IEnumerable<string>? availableAssetKeys)
Parameters
utcNowDateTimeOffsetavailableAssetKeysIEnumerable<string>