Class ShareInbox
Takes what the platform's share sheet hands to the app, e.g. Android's, for the chat to offer: a room is chosen, then the text goes into its message box and the files wait to be sent.
Inherited Members
Namespace: Uniform.Chat.Avalonia.Services
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public static class ShareInbox
Methods
| Edit this page View SourcePut(SharedContent)
Hand over shared content, replacing what was not taken yet.
Declaration
public static void Put(SharedContent content)
Parameters
| Type | Name | Description |
|---|---|---|
| SharedContent | content |
Take()
Return the shared content and forget it; null when there is none.
Declaration
public static SharedContent? Take()
Returns
| Type | Description |
|---|---|
| SharedContent |
Events
| Edit this page View SourceArrived
Raised when something is shared; on the platform's thread.
Declaration
public static event Action? Arrived
Event Type
| Type | Description |
|---|---|
| Action |