Class RAPReader
Inheritance
System.Object
RAPReader
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Recolude.Core.IO
Assembly: Recolude.Core.dll
Syntax
public class RAPReader : IDisposable
Constructors
RAPReader(Stream)
Declaration
public RAPReader(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
RAPReader(Stream, IEncoder<ICaptureCollection<ICapture>>[], Boolean)
Declaration
public RAPReader(Stream stream, IEncoder<ICaptureCollection<ICapture>>[] encoders, bool leaveOpen)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
IEncoder<ICaptureCollection<ICapture>>[] | encoders | |
System.Boolean | leaveOpen |
RAPReader(Stream, Boolean)
Declaration
public RAPReader(Stream stream, bool leaveOpen)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
System.Boolean | leaveOpen |
Methods
Dispose()
Declaration
public void Dispose()
Recording()
Reads from a stream of data and build an recording that can be used for playback.
Declaration
public IRecording Recording()
Returns
Type | Description |
---|---|
IRecording |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when the stream is null or empty. |
System.SystemException | Thrown when the stream contains data in an unexpected format. |
Implements
System.IDisposable