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 |
|
Build()
Builds this instance.
Declaration
bool Build()
Returns
Type | Description |
---|---|
bool |
|
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 |
|
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 |
|
Resume()
Resumes this instance.
Declaration
bool Resume()
Returns
Type | Description |
---|---|
bool |
|
Start(bool)
Starts this instance.
Declaration
bool Start(bool onlyPreload = false)
Parameters
Type | Name | Description |
---|---|---|
bool | onlyPreload | if set to |
Returns
Type | Description |
---|---|
bool |
|
Stop(bool)
Stops this instance.
Declaration
bool Stop(bool force = false)
Parameters
Type | Name | Description |
---|---|---|
bool | force | if set to |
Returns
Type | Description |
---|---|
bool |
|
Events
OnError
Occurs when [on error].
Declaration
event EventHandler<ErrorsEventArgs> OnError
Event Type
Type | Description |
---|---|
EventHandler<ErrorsEventArgs> |