Table of Contents

Class FeatureStreamEvent

Namespace
Honua.Sdk.Abstractions.Features
Assembly
Honua.Sdk.Abstractions.dll

Provider-neutral real-time feature event envelope.

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

Properties

Attributes

Feature attributes/properties as JSON values.

public IReadOnlyDictionary<string, JsonElement> Attributes { get; init; }

Property Value

IReadOnlyDictionary<string, JsonElement>

ConnectionId

Provider connection identifier, when available.

public string? ConnectionId { get; init; }

Property Value

string

Error

Stream error details when Kind is Error.

public FeatureEditError? Error { get; init; }

Property Value

FeatureEditError

FeatureId

Provider feature identifier, when available.

public string? FeatureId { get; init; }

Property Value

string

Geometry

Feature geometry as a provider-native JSON object, when supplied.

public JsonElement? Geometry { get; init; }

Property Value

JsonElement?

Kind

Normalized event kind.

public required FeatureStreamEventKind Kind { get; init; }

Property Value

FeatureStreamEventKind

ObjectId

Provider object identifier, when available.

public long? ObjectId { get; init; }

Property Value

long?

ProviderName

Provider name that produced the event.

public string ProviderName { get; init; }

Property Value

string

ResumeToken

Provider resume token for reconnect workflows.

public string? ResumeToken { get; init; }

Property Value

string

SequenceNumber

Monotonic provider sequence number, when available.

public long? SequenceNumber { get; init; }

Property Value

long?

SequenceToken

Opaque provider sequence token, when available.

public string? SequenceToken { get; init; }

Property Value

string

Source

Provider-specific source identifiers.

public FeatureSource Source { get; init; }

Property Value

FeatureSource

SubscriptionId

Subscription identifier that produced the event.

public required string SubscriptionId { get; init; }

Property Value

string

Timestamp

Event timestamp from the provider or adapter.

public required DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset