Table of Contents

Class OfflineSyncState

Namespace
Honua.Sdk.Offline.Abstractions
Assembly
Honua.Sdk.Abstractions.dll

Persisted state for a package or source sync run.

public sealed record OfflineSyncState : IEquatable<OfflineSyncState>
Inheritance
OfflineSyncState
Implements
Inherited Members

Properties

LastError

Diagnostic message from the last failed sync run.

public string? LastError { get; init; }

Property Value

string

LastStartedAtUtc

Time when the current or last sync run started.

public DateTimeOffset? LastStartedAtUtc { get; init; }

Property Value

DateTimeOffset?

LastSucceededAtUtc

Time when the last sync run completed successfully.

public DateTimeOffset? LastSucceededAtUtc { get; init; }

Property Value

DateTimeOffset?

LastSyncToken

Last provider sync token stored for this package or source.

public string? LastSyncToken { get; init; }

Property Value

string

PackageId

Offline package identifier.

public required string PackageId { get; init; }

Property Value

string

PendingChangeCount

Number of local changes still pending when the state was captured.

public int PendingChangeCount { get; init; }

Property Value

int

Phase

Current sync phase.

public OfflineSyncPhase Phase { get; init; }

Property Value

OfflineSyncPhase

SourceId

Optional source identifier when the state is source-specific.

public string? SourceId { get; init; }

Property Value

string