Package org.kurento.client
Class CodeFoundEvent
- java.lang.Object
-
- org.kurento.client.RaiseBaseEvent
-
- org.kurento.client.MediaEvent
-
- org.kurento.client.CodeFoundEvent
-
- All Implemented Interfaces:
Event
public class CodeFoundEvent extends MediaEvent
Event raised by aZBarFilter
when a code is found in the data being streamed.
-
-
Constructor Summary
Constructors Constructor Description CodeFoundEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, String codeType, String value)
Event raised by aZBarFilter
when a code is found in the data being streamed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCodeType()
Getter for the codeType propertyString
getValue()
Getter for the value propertyvoid
setCodeType(String codeType)
Setter for the codeType propertyvoid
setValue(String value)
Setter for the value property-
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
CodeFoundEvent
public CodeFoundEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, String codeType, String value)
Event raised by aZBarFilter
when a code is found in the data being streamed.- Parameters:
source
- Object that raised the eventtimestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
-type
- Type of event that was raisedcodeType
- type of QR code foundvalue
- value contained in the QR code
-
-
Method Detail
-
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
-
-