VisioForge (c) 2025

Search Results for

    Class VideoView

    Video view for MAUI.

    Inheritance
    Object
    VideoView
    Implements
    IDisposable
    INotifyPropertyChanged
    IVideoView
    IVideoViewPushFrame
    Namespace: VisioForge.Core.UI.MAUI
    Assembly: VisioForge.Core.UI.MAUI.dll
    Syntax
    public class VideoView : SKCanvasView, IDisposable, INotifyPropertyChanged, IVideoView, IVideoViewPushFrame

    Constructors

    VideoView()

    Declaration
    public VideoView()

    Properties

    BackgroundImage_Source

    Gets or sets background image.

    Declaration
    public SKBitmap BackgroundImage_Source { get; set; }
    Property Value
    Type Description
    SKBitmap

    The background image source.

    BackgroundImage_Stretch

    Gets or sets background image stretch.

    Declaration
    public Stretch BackgroundImage_Stretch { get; set; }
    Property Value
    Type Description
    Stretch

    The background image stretch.

    StatusOverlay

    Gets or sets status overlay that is active after Start/StartAsync call but before actual video streaming. The overlay can be used for IP cameras connection progress. Use StatusOverlay to configure text overlay.

    Declaration
    public IStatusOverlay StatusOverlay { get; set; }
    Property Value
    Type Description
    IStatusOverlay

    The status overlay.

    Video_Renderer

    Gets video renderer used for displaying video.

    Declaration
    public VideoRendererSettings Video_Renderer { get; }
    Property Value
    Type Description
    VideoRendererSettings

    The video renderer.

    Methods

    Attach(IMPVCVECore)

    Attaches parent.

    Declaration
    public void Attach(IMPVCVECore parent)
    Parameters
    Type Name Description
    IMPVCVECore parent

    Parent.

    CallInvoke(Delegate, Object[])

    Calls the invoke.

    Declaration
    public void CallInvoke(Delegate method, params object[] args)
    Parameters
    Type Name Description
    Delegate method

    The method.

    Object[] args

    The arguments.

    CallRefresh()

    Calls the refresh.

    Declaration
    public void CallRefresh()

    ClearUI()

    Clears the UI.

    Declaration
    public void ClearUI()

    Detach(IMPVCVECore)

    Detaches the specified parent.

    Declaration
    public void Detach(IMPVCVECore parent)
    Parameters
    Type Name Description
    IMPVCVECore parent

    The parent.

    Dispose()

    Dispose.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    Disposing parameter.

    Finalize()

    Finalizes an instance of the VideoView class.

    Declaration
    protected void Finalize()

    GetHandle()

    Gets window handle.

    Declaration
    public IntPtr GetHandle()
    Returns
    Type Description
    IntPtr

    Returns nint.

    GetInvokeRequired()

    Gets the invoke required.

    Declaration
    public bool GetInvokeRequired()
    Returns
    Type Description
    Boolean

    true if the invoke is required, false otherwise.

    GetIsHandleCreated()

    Gets the is handle created.

    Declaration
    public bool GetIsHandleCreated()
    Returns
    Type Description
    Boolean

    true if the handle is created, false otherwise.

    GetSize()

    Gets size.

    Declaration
    public Size GetSize()
    Returns
    Type Description
    Size

    Return Size.

    GetUIEngine()

    Gets UI engine.

    Declaration
    public VideoViewUIEngine GetUIEngine()
    Returns
    Type Description
    VideoViewUIEngine

    Returns VideoViewUIEngine.

    InvokeStart()

    Invokes Start/Play.

    Declaration
    public void InvokeStart()

    InvokeStartComplete()

    Invokes Start/Play.

    Declaration
    public void InvokeStartComplete()

    InvokeStop()

    Invokes Stop.

    Declaration
    public void InvokeStop()

    InvokeVideoRendererUpdate()

    Updates the screen settings.

    Declaration
    public void InvokeVideoRendererUpdate()

    LogDialogClear()

    Clears logs dialog.

    Declaration
    public void LogDialogClear()

    LogDialogClose()

    Closes logs dialog.

    Declaration
    public void LogDialogClose()

    LogDialogError(String)

    Logs the error in dialog.

    Declaration
    public void LogDialogError(string msg)
    Parameters
    Type Name Description
    String msg

    The message.

    OnPropertyChanged(String)

    OnPropertyChanged API.

    Declaration
    protected virtual void OnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    String propertyName

    Property name.

    PictureBoxCreate(Int32, Int32)

    Create the PictureBox.

    Declaration
    public void PictureBoxCreate(int width, int height)
    Parameters
    Type Name Description
    Int32 width

    The width.

    Int32 height

    The height.

    PictureBoxDestroy()

    Destroys the PictureBox.

    Declaration
    public void PictureBoxDestroy()

    PictureBoxExists()

    Is the PictureBox exists.

    Declaration
    public bool PictureBoxExists()
    Returns
    Type Description
    Boolean

    true if exists, false otherwise.

    PictureBoxGetImage()

    Gets the PictureBox image.

    Declaration
    public Bitmap PictureBoxGetImage()
    Returns
    Type Description
    Bitmap

    Bitmap.

    PictureBoxSetImage(Bitmap)

    Set the image on PictureBox.

    Declaration
    public void PictureBoxSetImage(Bitmap image)
    Parameters
    Type Name Description
    Bitmap image

    The image.

    PushFrame(VideoFrame)

    Pushes the frame.

    Declaration
    public void PushFrame(VideoFrame frame)
    Parameters
    Type Name Description
    VideoFrame frame

    The frame.

    ResizeRoundTo(Int32)

    Resizes the VideoView round to value.

    Declaration
    public void ResizeRoundTo(int round)
    Parameters
    Type Name Description
    Int32 round

    The value.

    SetHandle(IntPtr)

    Sets the handle. Not implemented.

    Declaration
    public void SetHandle(IntPtr handle)
    Parameters
    Type Name Description
    IntPtr handle

    The handle.

    ShowMessage(String)

    Shows the message.

    Declaration
    public MessageBoxResult ShowMessage(string message)
    Parameters
    Type Name Description
    String message

    The message.

    Returns
    Type Description
    MessageBoxResult

    MessageBoxResult.

    ShowMessageEx(String, String, MessageBoxDialogButtons)

    Shows the message.

    Declaration
    public MessageBoxResult ShowMessageEx(string message, string caption, MessageBoxDialogButtons buttons)
    Parameters
    Type Name Description
    String message

    The message.

    String caption

    The caption.

    MessageBoxDialogButtons buttons

    The buttons.

    Returns
    Type Description
    MessageBoxResult

    MessageBoxResult.

    Events

    PropertyChanged

    Property changed event.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Implements

    IDisposable
    INotifyPropertyChanged
    IVideoView
    IVideoViewPushFrame