Detect shot class.
More...
◆ NvsDetectShotParser()
com.meicam.sdk.NvsDetectShotParser.NvsDetectShotParser |
( |
| ) |
|
|
inline |
◆ cancelTask()
void com.meicam.sdk.NvsDetectShotParser.cancelTask |
( |
long |
taskId | ) |
|
|
inline |
◆ detect() [1/2]
boolean com.meicam.sdk.NvsDetectShotParser.detect |
( |
String |
videoPath | ) |
|
|
inline |
detect video shot
- Parameters
-
- Returns
- succeed or fail
◆ detect() [2/2]
boolean com.meicam.sdk.NvsDetectShotParser.detect |
( |
String |
videoPath, |
|
|
long |
startTime, |
|
|
long |
endTime |
|
) |
| |
|
inline |
detect video shot
- Parameters
-
videoPath | video path |
startTime | start time |
endTime | end time, -1 indicates detecting to the end |
- Returns
- succeed or fail
- Since
- 3.12.0
◆ notifyError()
void com.meicam.sdk.NvsDetectShotParser.notifyError |
( |
final long |
taskId, |
|
|
final int |
errorType |
|
) |
| |
|
inlineprotected |
◆ notifyFinish()
void com.meicam.sdk.NvsDetectShotParser.notifyFinish |
( |
final long |
taskId, |
|
|
final ArrayList |
timeStampList |
|
) |
| |
|
inlineprotected |
◆ notifyProgress()
void com.meicam.sdk.NvsDetectShotParser.notifyProgress |
( |
final long |
taskId, |
|
|
final float |
progress |
|
) |
| |
|
inlineprotected |
◆ notifyStart()
void com.meicam.sdk.NvsDetectShotParser.notifyStart |
( |
final String |
videoPath, |
|
|
final long |
taskId |
|
) |
| |
|
inlineprotected |
◆ release()
void com.meicam.sdk.NvsDetectShotParser.release |
( |
| ) |
|
|
inline |
◆ setDetectShotCallback() [1/2]
void com.meicam.sdk.NvsDetectShotParser.setDetectShotCallback |
( |
DetectShotCallback |
callback, |
|
|
boolean |
postMainLoop |
|
) |
| |
|
inline |
Sets callback to detect.
- Parameters
-
callback | Callback interface |
postMainLoop | whether to callback to main looper |
◆ setDetectShotCallback() [2/2]
void com.meicam.sdk.NvsDetectShotParser.setDetectShotCallback |
( |
DetectShotCallback |
callback, |
|
|
Handler |
hanlder |
|
) |
| |
|
inline |
Set callback to detect.
- Parameters
-
callback | Callback interface |
hanlder | Callback to this handler,if null will callback to main looper |
◆ DETECTSHOT_ERROR_FILETYPE
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_FILETYPE = 1 |
|
static |
◆ DETECTSHOT_ERROR_IO
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_IO = 2 |
|
static |
◆ DETECTSHOT_ERROR_IO_PERMISSION
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_IO_PERMISSION = 3 |
|
static |
◆ DETECTSHOT_ERROR_NO_ERROR
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_NO_ERROR = 0 |
|
static |
◆ DETECTSHOT_ERROR_PROCESS
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_PROCESS = 5 |
|
static |
◆ DETECTSHOT_ERROR_VIDEODECODE
final int com.meicam.sdk.NvsDetectShotParser.DETECTSHOT_ERROR_VIDEODECODE = 4 |
|
static |
The documentation for this class was generated from the following file: