Class MediaBlockHelper
MediaBlock helper.
Inherited Members
Namespace: VisioForge.Core.MediaBlocks
Assembly: VisioForge.Core.dll
Syntax
public static class MediaBlockHelper
Methods
SendEndOfStream(MediaBlock)
Sends the end of stream.
Declaration
public static bool SendEndOfStream(this MediaBlock block)
Parameters
Type | Name | Description |
---|---|---|
MediaBlock | block | The block. |
Returns
Type | Description |
---|---|
bool |
|
SendEvent(MediaBlock, Event)
Sends the event.
Declaration
public static bool SendEvent(this MediaBlock block, Event evt)
Parameters
Type | Name | Description |
---|---|---|
MediaBlock | block | The block. |
Event | evt | The evt. |
Returns
Type | Description |
---|---|
bool |
|
SetState(MediaBlock, State)
Sets the state.
Declaration
public static bool SetState(this MediaBlock block, State state)
Parameters
Type | Name | Description |
---|---|---|
MediaBlock | block | The block. |
State | state | The state. |
Returns
Type | Description |
---|---|
bool |
|