public class CodeFoundEvent extends MediaEvent
ZBarFilter
when a code is found in the data being streamed.Constructor and Description |
---|
CodeFoundEvent(MediaObject source,
String timestamp,
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. |
Modifier and Type | Method and Description |
---|---|
String |
getCodeType()
Getter for the codeType property
|
String |
getValue()
Getter for the value property
|
void |
setCodeType(String codeType)
Setter for the codeType property
|
void |
setValue(String value)
Setter for the value property
|
getType, setType
getSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillis
public CodeFoundEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type, String codeType, String value)
ZBarFilter
when a code is found in the data being streamed.source
- Object that raised the eventtimestamp
- [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).timestampMillis
- 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 codepublic String getCodeType()
public void setCodeType(String codeType)
codeType
- type of QR code foundpublic String getValue()
public void setValue(String value)
value
- value contained in the QR codeCopyright © 2022 Kurento. All rights reserved.