Namespace Uniform.Chat.Avalonia.ViewModels
Classes
ActionSheetViewModel
The details and actions of a message or room, opened by a long press or a right click: on phones a sheet from the bottom, on desktops a menu whose details open the sheet.
AdminAccountItem
An account as the panel lists it.
AdminReportItem
A report as the panel lists it.
AdminTokenItem
A registration token as the panel lists it.
AdminViewModel
Server administration for server admins, over the server's admin API: users' reports, accounts with suspension, locks, passwords, admin rights, notices and deactivation, and registration tokens.
AudioTestViewModel
The audio test: plays the microphone back a second later, through Opus as in a call, to try the microphone and the speaker or earpiece.
CallViewModel
The call bar: the voice call that rings or runs, with answering, declining, hanging up, muting and the loudspeaker, and the caller's video when they send it; it tells about a call for a while after it ends.
ChatViewModel
The signed-in screen: the room list, the open room's messages and the message box.
ConnectingViewModel
Shown while the remembered account resumes its session.
DeviceItem
One of the user's devices (sessions).
DirectoryViewModel
The public room directory of the user's server or another one: search it and join a room.
LicenseEntry
A license text the app carries: its group, e.g. Packages, and name.
LicensesViewModel
The licenses of the app and of everything it bundles, as the licenses of the bundled libraries require it to show: the list, and the text of the chosen one.
LogFileItem
A session log in the list: its file and how it is named there.
LoginViewModel
The sign-in form: user ID, password, and the homeserver address for servers without discovery; it also creates accounts, with the registration token and the server's policies when the server asks for them.
LogsViewModel
The app's session logs, as the terminal client's log window shows them: the sessions, and the entries of the chosen one at a level and above, newest first, filtered by text.
MainViewModel
The app's current page: the sign-in form, resuming, or the chat screen; it owns the running connection.
MemberItem
A member of the open room, for its member list.
MessageList
The open room's timeline as items: events become messages, while edits, deletions and reactions change the messages they refer to.
MessageViewModel
One item of the open room's timeline.
PublicRoomItem
A room of a public room directory.
RoomItemViewModel
One room in the room list: name, latest message, unread count, and whether it is an invite, a direct chat or encrypted.
SecurityViewModel
Encryption status of this device and the account, with what is missing: set up recovery, recover with a key, or verify with another device; also the blocked users, and deleting the account.
SettingsViewModel
Appearance and notification settings, kept in the Ui section of the app's settings.json and saved on every change.
SheetAction
An action of an ActionSheetViewModel: it runs, or offers Choices such as report reasons.
SheetDetail
A line of an ActionSheetViewModel's details.
StatusLine
One labelled line of the security status.
VerificationViewModel
An emoji verification with another device as it goes: accept a request, compare emoji, then the outcome.
VideoFeed
The newest picture of a video, for a VideoView to show; pictures may come on any thread.
ViewModelBase
Base of the view models, with property change notification.
Enums
AdminSection
A section of the server administration panel.
AppTheme
Colour theme of the app.
MessageKind
How a timeline item is shown.