Interface IDeviceDvr
Implements functionality for a device that supports capturing on a DVR.
Namespace: Phoenix.MediaCapture.DVR
Assembly: Phoenix.Abstractions.MediaCapture.dll
Syntax
[Obsolete("Implementation of this class has been removed. Use the device console library instead.", true)]
public interface IDeviceDvr
Properties
View SourceDvrRunning
Gets a value indicating whether capturer is running or not
Declaration
bool DvrRunning { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceCaptureVideo(String, UInt32, IProgress<Int32>)
Captures a video from on a DVR
Declaration
Task<DvrMetadata> CaptureVideo(string destination, uint seconds, IProgress<int> progress)
Parameters
Type | Name | Description |
---|---|---|
System.String | destination | The output destination for the video to be copied to. |
System.UInt32 | seconds | The last x seconds to take of the video. |
System.IProgress<System.Int32> | progress | Progress notification. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DvrMetadata> | DVRMetadata that holds information about the video. |
GetDvrCaptureParameters()
Gets the list of capture parameters for this device.
Declaration
List<CaptureParameter> GetDvrCaptureParameters()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<CaptureParameter> | A list of capture parameters. |
SetDvrCaptureParameters(Object[])
Stores the capture parameters for a device
Declaration
void SetDvrCaptureParameters(params object[] captureParameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | captureParameters | an array of capture parameters |
StartCapture()
Starts capturing a video
Declaration
void StartCapture()
StopCapture(String)
Stops capturing a video
Declaration
Task<DvrMetadata> StopCapture(string destination)
Parameters
Type | Name | Description |
---|---|---|
System.String | destination | The output destination for the video to be copied to. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DvrMetadata> | DVRMetadata that holds information about the video. |