Class SharedContent
What another app shared to this one, e.g. a link from a browser or photos from a gallery.
Implements
Inherited Members
Namespace: Uniform.Chat.Avalonia.Services
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed record SharedContent : IEquatable<SharedContent>
Constructors
| Edit this page View SourceSharedContent(string?, IReadOnlyList<SharedFile>)
What another app shared to this one, e.g. a link from a browser or photos from a gallery.
Declaration
public SharedContent(string? Text, IReadOnlyList<SharedFile> Files)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Text | Shared text, such as a link; null for none. |
| IReadOnlyList<SharedFile> | Files | Shared files. |
Properties
| Edit this page View SourceFiles
Shared files.
Declaration
public IReadOnlyList<SharedFile> Files { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<SharedFile> |
Summary
A short description, e.g. a link, photo.jpg or 3 files.
Declaration
public string Summary { get; }
Property Value
| Type | Description |
|---|---|
| string |
Text
Shared text, such as a link; null for none.
Declaration
public string? Text { get; init; }
Property Value
| Type | Description |
|---|---|
| string |