MeiCam SDK For iOS  3.14.0
Instance Methods | Properties | List of all members
NvsDetectShotParser Class Reference

Detect shot parser class. More...

#import <NvsDetectShotParser.h>

Inheritance diagram for NvsDetectShotParser:

Instance Methods

(instancetype) - init
 
(Boolean) - detect:
 detect video shot More...
 
(Boolean) - detect:startTime:endTime:
 detect video shot More...
 
(void) - cancelTask:
 cancel media detect task. More...
 

Properties

id< NvsDetectShotParserDelegatedelegate
 

Detailed Description

Detect shot parser class.

Warning
In the NvsDetectShotParser class, all public APIs can be used not only in the UI thread, but also across threads! ! !

Method Documentation

◆ cancelTask:

- (void) cancelTask: (int64_t)  taskId

cancel media detect task.

Parameters
taskIdtask ID.

◆ detect:

- (Boolean) detect: (NSString *)  videoPath

detect video shot

Parameters
videoPathvideo path
Returns
Returns a boolean value. true means successful and false means failure

◆ detect:startTime:endTime:

- (Boolean) detect: (NSString *)  videoPath
startTime: (int64_t)  startTime
endTime: (int64_t)  endTime 

detect video shot

Parameters
videoPathvideo path
startTimestart time
endTimeend time, -1 indicates detecting to the end
Returns
Returns a boolean value. true means successful and false means failure

◆ init

- (instancetype) init

Property Documentation

◆ delegate

- (id<NvsDetectShotParserDelegate>) delegate
readwriteatomicweak

The documentation for this class was generated from the following file: