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

Detect shot parser class. More...

#import <NvsDetectShotParser.h>

Inheritance diagram for NvsDetectShotParser:

Instance Methods

(Boolean) - setMaxThreadCount:
 set max detect thread count More...
 
(Boolean) - detect:
 detect video shot More...
 
(void) - cancelTask:
 cancel media detect task. More...
 
(void) - cancelAllTasks
 cancel all detect tasks. More...
 
(void) - suspend
 suspend all detect tasks. More...
 
(void) - resume
 resume all detect tasks. More...
 

Class Methods

(NvsDetectShotParser *) + init
 Initializes detect shot instance. More...
 
(void) + close
 Destroys the detect shot object instance. note: it can be created again after destruction. More...
 
(NvsDetectShotParser *) + getInstance
 Gets the instance of detect shot object (only can use this after initialization) 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

◆ cancelAllTasks

- (void) cancelAllTasks

cancel all detect tasks.

◆ cancelTask:

- (void) cancelTask: (int64_t)  taskId

cancel media detect task.

Parameters
taskIdtask ID.

◆ close

+ (void) close

Destroys the detect shot object instance. note: it can be created again after destruction.

See also
+ init
+ getInstance

◆ detect:

- (Boolean) detect: (NSString *)  videoPath

detect video shot

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

◆ getInstance

+ (NvsDetectShotParser *) getInstance

Gets the instance of detect shot object (only can use this after initialization)

Returns
Returns the detect shot object instance.
See also
+ init
+ close

◆ init

+ (NvsDetectShotParser *) init

Initializes detect shot instance.

Returns
Returns an object instance of the detect shot parser.
See also
+ close

◆ resume

- (void) resume

resume all detect tasks.

◆ setMaxThreadCount:

- (Boolean) setMaxThreadCount: (int)  threadCount

set max detect thread count

Parameters
threadCountthread count
Returns
Returns a boolean value. true means successful and false means failure

◆ suspend

- (void) suspend

suspend all detect tasks.

Property Documentation

◆ delegate

- (id<NvsDetectShotParserDelegate>) delegate
readwriteatomicweak

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