mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: add IAnnotationStream interface for annotation stream functionality
This commit is contained in:
parent
77e6ba7f36
commit
7fca4d74bf
1 changed files with 19 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
||||||
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Defines minimum functionality for a device that can provide an annotation stream.
|
||||||
|
/// </summary>
|
||||||
|
public interface IAnnotationStream
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Starts the annotation stream.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="streamIdx">The index of the annotation stream to start.</param>
|
||||||
|
bool StartAnnotationForStream(ushort streamIdx);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Stops the annotation stream.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="streamIdx">The index of the annotation stream to stop.</param>
|
||||||
|
bool StopAnnotationForStream(ushort streamIdx);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue