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 : IDisposableImplements
Properties
BridgeType
Gets the type of this bridge.
BridgeType BridgeType { get; }Property Value
ChannelName
Gets the channel name used for the bridge connection.
string ChannelName { get; }Property Value
Identifier
Gets the unique identifier for this bridge connection.
Guid Identifier { get; }Property Value
MediaType
Gets the media type supported by this bridge.
MediaBlockPadMediaType MediaType { get; }Property Value
Methods
GetMediaBlock()
Gets the underlying MediaBlock instance.
MediaBlock GetMediaBlock()Returns
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
channelNamestring-
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
identifierGuid-
The new identifier.
Returns
- bool
-
True if the update was successful, false otherwise.