Class CodeFoundEvent

All Implemented Interfaces:
Event

public class CodeFoundEvent extends MediaEvent
Event raised by a ZBarFilter when a code is found in the data being streamed.
  • Constructor Details

    • CodeFoundEvent

      public CodeFoundEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, String codeType, String value)
      Event raised by a ZBarFilter when a code is found in the data being streamed.
      Parameters:
      source - Object that raised the event
      timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
      tags -
      type - Type of event that was raised
      codeType - type of QR code found
      value - value contained in the QR code
  • Method Details

    • getCodeType

      public String getCodeType()
      Getter for the codeType property
      Returns:
      type of QR code found *
    • setCodeType

      public void setCodeType(String codeType)
      Setter for the codeType property
      Parameters:
      codeType - type of QR code found
    • getValue

      public String getValue()
      Getter for the value property
      Returns:
      value contained in the QR code *
    • setValue

      public void setValue(String value)
      Setter for the value property
      Parameters:
      value - value contained in the QR code