Class VideoFeed
The newest picture of a video, for a VideoView to show; pictures may come on any thread.
Inherited Members
Namespace: Uniform.Chat.Avalonia.ViewModels
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed class VideoFeed
Properties
| Edit this page View SourceLatest
The newest picture, or null for none.
Declaration
public VideoFrame? Latest { get; }
Property Value
| Type | Description |
|---|---|
| VideoFrame |
Methods
| Edit this page View SourceClear()
Show no picture.
Declaration
public void Clear()
Push(VideoFrame)
Make picture the newest, replacing any not yet shown.
Declaration
public void Push(VideoFrame picture)
Parameters
| Type | Name | Description |
|---|---|---|
| VideoFrame | picture |
Events
| Edit this page View SourceUpdated
Raised when Latest changes, on the thread that changed it.
Declaration
public event Action? Updated
Event Type
| Type | Description |
|---|---|
| Action |