Class CodeFoundEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.CodeFoundEvent
- All Implemented Interfaces:
Event
Event raised by a
ZBarFilter when a code is found in the data being streamed.-
Constructor Summary
ConstructorsConstructorDescriptionCodeFoundEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, String codeType, String value) Event raised by aZBarFilterwhen a code is found in the data being streamed. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the codeType propertygetValue()Getter for the value propertyvoidsetCodeType(String codeType) Setter for the codeType propertyvoidSetter for the value propertyMethods inherited from class MediaEvent
getType, setTypeMethods inherited from class RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
CodeFoundEvent
public CodeFoundEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, String codeType, String value) Event raised by aZBarFilterwhen 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 Details
-
getCodeType
-
setCodeType
Setter for the codeType property- Parameters:
codeType- type of QR code found
-
getValue
-
setValue
Setter for the value property- Parameters:
value- value contained in the QR code
-