Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Client

DeviceStatePublishResult Class

Contains the submitted device state and whether the relay accepted or temporarily staged it.

public sealed class DeviceStatePublishResult

Inheritance System.Object → DeviceStatePublishResult

Properties

DeviceStatePublishResult.DeviceState Property

The complete device state submitted to the relay; inspect the status before treating it as authoritative.

public Meshline.Models.Protocol.AccountDeviceState DeviceState { get; init; }

Property Value

AccountDeviceState

DeviceStatePublishResult.StagedUntil Property

The expiration time of the temporarily staged device state, or null when unavailable.

public System.Nullable<System.DateTimeOffset> StagedUntil { get; init; }

Property Value

System.Nullable<System.DateTimeOffset>

DeviceStatePublishResult.Status Property

Whether the submitted state was accepted as authoritative or only staged.

public Meshline.Models.Protocol.DeviceStatePublishStatus Status { get; init; }

Property Value

DeviceStatePublishStatus