public final class VideoTaskDetails extends AbstractTaskDetails
VideoParameters.SequenceType.FULL
.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <taskDetails> <backendId>2069840025</backendId> <taskId>8495399039132850551</taskId> <taskType>ANALYSIS</taskType> <callbackUri>http://fe.example.org/rest/vcars/taskFinished</callbackUri> <taskParameters> <analysisTypeList> <analysisType>AUDIO</analysisType> <analysisType>FACE_DETECTION</analysisType> <analysisType>KEYWORD_EXTRACTION</analysisType> <analysisType>VISUAL</analysisType> </analysisTypeList> <sequenceDuration>333427392</sequenceDuration> <sequenceType>SECOND</sequenceType> <timeCodeList> <timeCode> <to>3548.1858701053698</to> <from>880.1527973037648</from> </timeCode> <timeCode> <to>4908.68208191131</to> <from>3921.043244553824</from> </timeCode> <timeCode> <to>5188.050192884557</to> <from>5115.05581021384</from> </timeCode> <timeCode> <to>7664.424633544646</to> <from>6209.568498922482</from> </timeCode> </timeCodeList> </taskParameters> <userId>5699706214745760251</userId> <mediaList> <media> <credits>yRjxDsHNCBGeDSSsavEowOcQVOlxlffPzkkddaYomLeNShOZiQhiPxmOMlOoedJD</credits> <description>phvNtAGYdqNKbcCJWwZHNixzuOHvPUUWfiLNuRFslrtjMKMXgnKWOswMvEbBUNrb</description> <UID>dfbb25e1-ee63-4ade-9167-7b421fb7582e</UID> <name>NqQkGbTtbcZusjHkdRKxGMbcydGNklrVLYpHoXHRCBZtoOImymQRHcUjWRxEMIKk</name> <serviceId>1</serviceId> <visibility>PUBLIC</visibility> <objectList> <object> <backendId>1413124725</backendId> <confidence>0.9534600973591872</confidence> <mediaObjectId>2707899136464365369</mediaObjectId> <mediaType>VIDEO</mediaType> <objectId>rayUkVosdkbPJpZnSmvEBBNkcPZvZMnoDUFKUQgPDpBRwIkxscZypRkNogfIIVle</objectId> <rank>718228624</rank> <serviceId>4</serviceId> <status>USER_CONFIRMED</status> <objectType>KEYWORD</objectType> <value>JTuPOGLEiBHbwHoJwWNSGaVtusoeMSAwokfOeDozVTSUXRLwhVCCUPRUHiXKTfgR</value> <visibility>GROUP</visibility> <timeCodeList> <timeCode> <to>891.2442078549915</to> <from>393.1602701424712</from> </timeCode> </timeCodeList> <userId>5699706214745760251</userId> </object> </objectList> <mediaType>VIDEO</mediaType> <userId>5699706214745760251</userId> <url>http://fe.example.org/rest/vcarc/r?uid=dfbb25e1-ee63-4ade-9167-7b421fb7582e&service_id=1</url> </media> </mediaList> </taskDetails>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <taskDetails> <backendId>878154140</backendId> <taskId>1637452288451175827</taskId> <taskType>FEEDBACK</taskType> <callbackUri>http://fe.example.org/rest/vcars/taskFinished</callbackUri> <userId>4414291024243154303</userId> <deletedMediaList> <media> <UID>a47e08e8-6a8a-4b46-93cb-24cec1321058</UID> <serviceId>1</serviceId> <mediaType>VIDEO</mediaType> <userId>1797493968804136453</userId> <url>http://fe.example.org/rest/vcarc/r?uid=a47e08e8-6a8a-4b46-93cb-24cec1321058&service_id=1</url> </media> </deletedMediaList> </taskDetails>
AbstractTaskDetails.TaskParameters
Constructor and Description |
---|
VideoTaskDetails() |
VideoTaskDetails(AsyncTask.TaskType taskType) |
Modifier and Type | Method and Description |
---|---|
void |
addDeletedVideo(Video video)
add video to the deleted video list
|
void |
addVideo(Video video)
Add video to the video list
|
DeletedVideoList |
getDeletedVideoList() |
VideoParameters |
getTaskParameters() |
VideoList |
getVideoList() |
boolean |
isEmpty() |
void |
setDeletedVideoList(DeletedVideoList deletedVideoList) |
void |
setTaskParameters(AbstractTaskDetails.TaskParameters parameters) |
void |
setTaskParameters(VideoParameters parameters) |
void |
setVideoList(VideoList videoList) |
getBackendId, getBackends, getCallbackUri, getDataClasses, getMetadata, getTaskId, getTaskType, getUserId, getUserIdValue, setBackend, setBackendId, setBackends, setCallbackUri, setMetadata, setTaskId, setTaskType, setUserId
public VideoTaskDetails(AsyncTask.TaskType taskType)
taskType
- public VideoTaskDetails()
public DeletedVideoList getDeletedVideoList()
setDeletedVideoList(DeletedVideoList)
public void setDeletedVideoList(DeletedVideoList deletedVideoList)
deletedVideoList
- the deletedVideoList to setgetDeletedVideoList()
public VideoList getVideoList()
setVideoList(VideoList)
public void setVideoList(VideoList videoList)
videoList
- the videoList to setgetDeletedVideoList()
public void addVideo(Video video)
video
- getVideoList()
public void addDeletedVideo(Video video)
video
- getDeletedVideoList()
public boolean isEmpty()
public VideoParameters getTaskParameters()
getTaskParameters
in class AbstractTaskDetails
AbstractTaskDetails.setTaskParameters(TaskParameters)
public void setTaskParameters(AbstractTaskDetails.TaskParameters parameters)
setTaskParameters
in class AbstractTaskDetails
parameters
- the parameters to setAbstractTaskDetails.getTaskParameters()
public void setTaskParameters(VideoParameters parameters)
parameters
- Copyright © 2015 Tampere University of Technology, Pori Department.