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

#import <NvsBeatDetection.h>

Inheritance diagram for NvsBeatDetection:

Instance Methods

(BOOL) - startDetect:sensitivity:
 Start beat detection. More...
 
(void) - cancelDetect
 Cancel beat detection. More...
 

Class Methods

(instancetype) + sharedInstance:
 Initializes beat detection instance. More...
 
(void) + close
 Destroys the beat detection object instance. note: it can be created again after destruction. More...
 

Properties

id< NvsBeatDetectionDelegatedelegate
 

Method Documentation

◆ cancelDetect

- (void) cancelDetect

Cancel beat detection.

See also
startDetect

◆ close

+ (void) close

Destroys the beat detection object instance. note: it can be created again after destruction.

See also
sharedInstance

◆ sharedInstance:

+ (instancetype) sharedInstance: (int)  flag

Initializes beat detection instance.

Parameters
flagsFlags, zero temporarily
Returns
Returns a beat detection instance object.
Since
2.14.0
See also
+ close

◆ startDetect:sensitivity:

- (BOOL) startDetect: (NSString *)  inputFilePath
sensitivity: (int)  sensitivity 

Start beat detection.

Parameters
inputFilePathinput music file path
sensitivitymin duration between two adjacent beats
Returns
Return true if suc, otherwise false
See also
sharedInstance
- cancelDetect

Property Documentation

◆ delegate

- (id<NvsBeatDetectionDelegate>) delegate
readwritenonatomicweak

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