Table of Contents

Interface IBridge

Namespace
VisioForge.Core.MediaBlocks.Bridge
Assembly
VisioForge.Core.dll

Base interface for all bridge implementations that enable data transfer between pipelines.

public interface IBridge : IDisposable

Implements

Properties

BridgeType

Gets the type of this bridge.

BridgeType BridgeType { get; }

Property Value

BridgeType

ChannelName

Gets the channel name used for the bridge connection.

string ChannelName { get; }

Property Value

string

Identifier

Gets the unique identifier for this bridge connection.

Guid Identifier { get; }

Property Value

Guid

MediaType

Gets the media type supported by this bridge.

MediaBlockPadMediaType MediaType { get; }

Property Value

MediaBlockPadMediaType

Methods

GetMediaBlock()

Gets the underlying MediaBlock instance.

MediaBlock GetMediaBlock()

Returns

MediaBlock

IsAvailable()

Checks if this bridge type is available on the current platform.

bool IsAvailable()

Returns

bool

True if available, false otherwise.

UpdateChannelName(string)

Updates the channel name dynamically.

bool UpdateChannelName(string channelName)

Parameters

channelName string

The new channel name.

Returns

bool

True if the update was successful, false otherwise.

UpdateIdentifier(Guid)

Updates the connection identifier dynamically.

bool UpdateIdentifier(Guid identifier)

Parameters

identifier Guid

The new identifier.

Returns

bool

True if the update was successful, false otherwise.