Interface IVideoCaptureControls
Video capture controls interface.
Inherited Members
Namespace: VisioForge.Core.Types
Assembly: VisioForge.Core.dll
Syntax
public interface IVideoCaptureControls : IVideoEffectsControls
Methods
Duration()
Gets the duration.
Declaration
TimeSpan Duration()
Returns
Type | Description |
---|---|
TimeSpan | TimeSpan. |
DurationAsync()
Gets the duration (async.).
Declaration
Task<TimeSpan> DurationAsync()
Returns
Type | Description |
---|---|
Task<TimeSpan> | Task<TimeSpan>. |
Pause()
Pauses.
Declaration
bool Pause()
Returns
Type | Description |
---|---|
bool |
|
PauseAsync()
Pauses (async.).
Declaration
Task<bool> PauseAsync()
Returns
Type | Description |
---|---|
Task<bool> | Task. |
Resume()
Resumes.
Declaration
bool Resume()
Returns
Type | Description |
---|---|
bool |
|
ResumeAsync()
Resumes (async.).
Declaration
Task<bool> ResumeAsync()
Returns
Type | Description |
---|---|
Task<bool> | Task. |
Start()
Starts.
Declaration
bool Start()
Returns
Type | Description |
---|---|
bool |
|
StartAsync()
Starts (async.).
Declaration
Task<bool> StartAsync()
Returns
Type | Description |
---|---|
Task<bool> | Task<System.Boolean>. |
State()
Gets current state of the component. Returns "Play" during capture or preview and "Free" when idle.
Declaration
PlaybackState State()
Returns
Type | Description |
---|---|
PlaybackState | PlaybackState. |
Stop()
Stops.
Declaration
void Stop()
StopAsync()
Stops (async.).
Declaration
Task StopAsync()
Returns
Type | Description |
---|---|
Task | Task. |
Volume_Get()
Gets the volume.
Declaration
double Volume_Get()
Returns
Type | Description |
---|---|
double | System.Double. |
Volume_Set(double)
Sets the volume.
Declaration
void Volume_Set(double volume)
Parameters
Type | Name | Description |
---|---|---|
double | volume | The volume. |