Table of Contents

Interface ICaptureSource

Namespace
CapCognition.Net.Core.Capture
Assembly
CapCognition.Net.Core.dll

Interface for capturing from a source. Use IVideoCaptureSource for a video specific interface.

public interface ICaptureSource : IDisposable
Inherited Members
Extension Methods

Properties

Source

The source of the capture.

string Source { get; }

Property Value

string

Methods

GetBitmapAsync(CancellationToken)

Retrieve the next frame as bitmap from the capture source.

Task<SKBitmap?> GetBitmapAsync(CancellationToken token = default)

Parameters

token CancellationToken

Returns

Task<SKBitmap>

StartCaptureAsync()

Start capturing from the source.

Task<bool> StartCaptureAsync()

Returns

Task<bool>

StopCaptureAsync()

Stop capturing from the source.

Task StopCaptureAsync()

Returns

Task