VisioForge (c) 2025

Search Results for

    Interface IMediaBlocksPipeline

    Interface IMediaBlocksPipeline.

    Namespace: VisioForge.Core.MediaBlocks
    Assembly: VisioForge.Core.dll
    Syntax
    public interface IMediaBlocksPipeline

    Properties

    State

    Gets the state.

    Declaration
    PlaybackState State { get; }
    Property Value
    Type Description
    PlaybackState

    The state.

    Methods

    AddBlock(IMediaBlock)

    Adds the block.

    Declaration
    bool AddBlock(IMediaBlock block)
    Parameters
    Type Name Description
    IMediaBlock block

    The block.

    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Build()

    Builds this instance.

    Declaration
    bool Build()
    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Connect(MediaBlockPad, MediaBlockPad)

    Connects the specified output.

    Declaration
    bool Connect(MediaBlockPad output, MediaBlockPad input)
    Parameters
    Type Name Description
    MediaBlockPad output

    The output.

    MediaBlockPad input

    The input.

    Returns
    Type Description
    bool

    true if successful, false otherwise.

    GetBlock(string)

    Gets the block.

    Declaration
    IMediaBlock GetBlock(string name)
    Parameters
    Type Name Description
    string name

    The name.

    Returns
    Type Description
    IMediaBlock

    IMediaBlock.

    GetBlock(MediaBlockType)

    Gets the block.

    Declaration
    IMediaBlock GetBlock(MediaBlockType type_)
    Parameters
    Type Name Description
    MediaBlockType type_

    The type.

    Returns
    Type Description
    IMediaBlock

    IMediaBlock.

    GetContext()

    Gets the context.

    Declaration
    ContextX GetContext()
    Returns
    Type Description
    ContextX

    ContextX.

    Pause()

    Pauses this instance.

    Declaration
    bool Pause()
    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Resume()

    Resumes this instance.

    Declaration
    bool Resume()
    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Start(bool)

    Starts this instance.

    Declaration
    bool Start(bool onlyPreload = false)
    Parameters
    Type Name Description
    bool onlyPreload

    if set to true only preload and set to Pause.

    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Stop(bool)

    Stops this instance.

    Declaration
    bool Stop(bool force = false)
    Parameters
    Type Name Description
    bool force

    if set to true force stop.

    Returns
    Type Description
    bool

    true if successful, false otherwise.

    Events

    OnError

    Occurs when [on error].

    Declaration
    event EventHandler<ErrorsEventArgs> OnError
    Event Type
    Type Description
    EventHandler<ErrorsEventArgs>