Class VideoEvent

java.lang.Object
edu.wpi.first.cscore.VideoEvent

public class VideoEvent extends Object
Video event.
  • Field Details

  • Method Details

    • getKindFromInt

      public static VideoEvent.Kind getKindFromInt(int kind)
      Convert from the numerical representation of kind to an enum type.
      Parameters:
      kind - The numerical representation of kind
      Returns:
      The kind
    • getSource

      Returns the source associated with the event (if any).
      Returns:
      The source associated with the event (if any).
    • getSink

      public VideoSink getSink()
      Returns the sink associated with the event (if any).
      Returns:
      The sink associated with the event (if any).
    • getProperty

      Returns the property associated with the event (if any).
      Returns:
      The property associated with the event (if any).