Class DeviceItem
One of the user's devices (sessions).
Implements
Inherited Members
Namespace: Uniform.Chat.Avalonia.ViewModels
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed record DeviceItem : IEquatable<DeviceItem>
Constructors
| Edit this page View SourceDeviceItem(string, string, string, bool, bool)
One of the user's devices (sessions).
Declaration
public DeviceItem(string DeviceId, string Name, string Details, bool IsThisDevice, bool CanVerify)
Parameters
| Type | Name | Description |
|---|---|---|
| string | DeviceId | Device ID. |
| string | Name | Display name, or the ID. |
| string | Details | Trust and last use, e.g. |
| bool | IsThisDevice | Whether it is the device running this app. |
| bool | CanVerify | Whether it has keys but is not verified yet. |
Properties
| Edit this page View SourceCanSignOut
Get whether it can be signed out from here; this device signs out from the account menu.
Declaration
public bool CanSignOut { get; }
Property Value
| Type | Description |
|---|---|
| bool |
CanVerify
Whether it has keys but is not verified yet.
Declaration
public bool CanVerify { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Details
Trust and last use, e.g. Verified · last seen 26.10.2026.
Declaration
public string Details { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceId
Device ID.
Declaration
public string DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
IsThisDevice
Whether it is the device running this app.
Declaration
public bool IsThisDevice { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Display name, or the ID.
Declaration
public string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |