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
ConnectionId
Provider connection identifier, when available.
public string? ConnectionId { get; init; }
Property Value
Error
public FeatureEditError? Error { get; init; }
Property Value
FeatureId
Provider feature identifier, when available.
public string? FeatureId { get; init; }
Property Value
Geometry
Feature geometry as a provider-native JSON object, when supplied.
public JsonElement? Geometry { get; init; }
Property Value
Kind
Normalized event kind.
public required FeatureStreamEventKind Kind { get; init; }
Property Value
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
ResumeToken
Provider resume token for reconnect workflows.
public string? ResumeToken { get; init; }
Property Value
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
Source
Provider-specific source identifiers.
public FeatureSource Source { get; init; }
Property Value
SubscriptionId
Subscription identifier that produced the event.
public required string SubscriptionId { get; init; }
Property Value
Timestamp
Event timestamp from the provider or adapter.
public required DateTimeOffset Timestamp { get; init; }