public class ErrorEvent extends RaiseBaseEvent
Constructor and Description |
---|
ErrorEvent(MediaObject source,
String timestamp,
String timestampMillis,
List<Tag> tags,
String description,
int errorCode,
String type)
Fired whenever an undefined error related to the MediaObject has occurred
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Getter for the description property
|
int |
getErrorCode()
Getter for the errorCode property
|
String |
getType()
Getter for the type property
|
void |
setDescription(String description)
Setter for the description property
|
void |
setErrorCode(int errorCode)
Setter for the errorCode property
|
void |
setType(String type)
Setter for the type property
|
getSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillis
public ErrorEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String description, int errorCode, String type)
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
- description
- Textual description of the errorerrorCode
- Server side integer error codetype
- Integer code as a Stringpublic String getDescription()
public void setDescription(String description)
description
- Textual description of the errorpublic int getErrorCode()
public void setErrorCode(int errorCode)
errorCode
- Server side integer error codepublic String getType()
public void setType(String type)
type
- Integer code as a StringCopyright © 2020 Kurento. All rights reserved.