# Interface ARI1EventBufferType<T extends ARI1EventType>

Type Parameters:
  `T` - The supertype of events in the buffer

public interface ARI1EventBufferType<T extends ARI1EventType>
The type of event buffers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `eventAdd(T event)`
  Add an event to the buffer.
  `void`
  `eventsClear()`
  Clear the buffer.
  `List<? extends T>`
  `eventsTake(int frameIndex)`
  Take all events that apply to the given frame index/time.

- ## Method Details

  - ### eventsClear

    void eventsClear()
    Clear the buffer. This should typically be called at the end of each processing period.

  - ### eventAdd

    void eventAdd(T event)
    Add an event to the buffer.
    Parameters:
      `event` - The event

  - ### eventsTake

    List<? extends T> eventsTake(int frameIndex)
    Take all events that apply to the given frame index/time.
    Parameters:
      `frameIndex` - The frame index/time
    Returns:
      The events that apply, if any