Class AudioEventResult<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Result of audio event detection.
public class AudioEventResult<T> : IEnumerable<AudioEvent<T>>, IEnumerable
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
AudioEventResult<T>
- Implements
- Inherited Members
- Extension Methods
Properties
DetectedEventTypes
Gets or sets the unique event types detected.
public IReadOnlyList<string> DetectedEventTypes { get; set; }
Property Value
EventStats
Gets or sets event statistics.
public IReadOnlyDictionary<string, EventStatistics<T>> EventStats { get; set; }
Property Value
Events
Gets or sets the detected events.
public IReadOnlyList<AudioEvent<T>> Events { get; set; }
Property Value
TotalDuration
Gets or sets the total duration in seconds.
public double TotalDuration { get; set; }
Property Value
Methods
GetEnumerator()
Returns an enumerator that iterates through the events.
public IEnumerator<AudioEvent<T>> GetEnumerator()
Returns
GetEventsByType(string)
Gets events of a specific type.
public IEnumerable<AudioEvent<T>> GetEventsByType(string eventType)
Parameters
eventTypestringThe event type to filter for.
Returns
- IEnumerable<AudioEvent<T>>
Events of the specified type.