Interface INotifier
System notifications of new messages, by platform; the app shows them while its window is in the background.
Namespace: Uniform.Chat.Avalonia.Services
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public interface INotifier
Methods
| Edit this page View SourceShowAsync(string, string, CancellationToken)
Show a notification with title and body.
Declaration
Task ShowAsync(string title, string body, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | Who wrote, and where. |
| string | body | The message, shortened. |
| CancellationToken | cancellationToken | Cancellation token. |
Returns
| Type | Description |
|---|---|
| Task |