MeiCam SDK For Android  3.14.0
Classes | Public Member Functions | Static Public Member Functions | List of all members
com.meicam.sdk.NvsSmartCutGenerator Class Reference

Smart cut generator class. More...

Classes

class  NvsSmartCutCaptionInfo
 
class  NvsSmartCutClipData
 SmartCutGenerator data class. More...
 
class  NvsSmartCutFilterInfo
 
class  NvsSmartCutResultData
 
class  NvsSmartCutSCDData
 
class  NvsSmartCutSCDInfo
 
class  NvsSmartCutSpeedInfo
 
class  NvsSmartCutSpeedList
 
class  NvsSmartCutTransitionInfo
 
interface  SmartCutGeneratorCallback
 smart cut generator callback interface More...
 

Public Member Functions

boolean startSmartCut (ArrayList< String > scdFileList, ArrayList< String > videoFileList, ArrayList< String > templatePathList, String captionPath, String captionLicPath, String filterPath, String filterLicPath, String location)
 start smart editing More...
 
boolean startSmartCut (ArrayList< NvsSmartCutSCDInfo > scdInfoList, ArrayList< String > templatePathList, String captionPath, String captionLicPath, String filterPath, String filterLicPath, String location)
 
boolean changeTemplate (String templatePath)
 Change template. More...
 
void setSmartCutGeneratorCallback (SmartCutGeneratorCallback cb)
 Sets callback interface for smart cut. More...
 

Static Public Member Functions

static NvsSmartCutGenerator init (Context context, int flags)
 Initializes smart cut instance. More...
 
static void close ()
 Destroys the smart cut object instance. note: it can be created again after destruction. More...
 
static NvsSmartCutGenerator getInstance ()
 Gets the instance of smart cut object (only can use this after initialization) More...
 

Detailed Description

Smart cut generator class.

Member Function Documentation

◆ changeTemplate()

boolean com.meicam.sdk.NvsSmartCutGenerator.changeTemplate ( String  templatePath)
inline

Change template.

Parameters
templatePathtemplate path

◆ close()

static void com.meicam.sdk.NvsSmartCutGenerator.close ( )
inlinestatic

Destroys the smart cut object instance. note: it can be created again after destruction.

See also
init
getInstance

◆ getInstance()

static NvsSmartCutGenerator com.meicam.sdk.NvsSmartCutGenerator.getInstance ( )
inlinestatic

Gets the instance of smart cut object (only can use this after initialization)

Returns
Returns the smart cut object instance.
See also
init
close

◆ init()

static NvsSmartCutGenerator com.meicam.sdk.NvsSmartCutGenerator.init ( Context  context,
int  flags 
)
inlinestatic

Initializes smart cut instance.

Parameters
context.
flagsFlags, zero temporarily
Returns
Returns a smart cut instance object.
Since
2.13.0
See also
getInstance
close

◆ setSmartCutGeneratorCallback()

void com.meicam.sdk.NvsSmartCutGenerator.setSmartCutGeneratorCallback ( SmartCutGeneratorCallback  cb)
inline

Sets callback interface for smart cut.

Parameters
cbCallback interface for smart cut.

◆ startSmartCut() [1/2]

boolean com.meicam.sdk.NvsSmartCutGenerator.startSmartCut ( ArrayList< NvsSmartCutSCDInfo scdInfoList,
ArrayList< String >  templatePathList,
String  captionPath,
String  captionLicPath,
String  filterPath,
String  filterLicPath,
String  location 
)
inline

◆ startSmartCut() [2/2]

boolean com.meicam.sdk.NvsSmartCutGenerator.startSmartCut ( ArrayList< String >  scdFileList,
ArrayList< String >  videoFileList,
ArrayList< String >  templatePathList,
String  captionPath,
String  captionLicPath,
String  filterPath,
String  filterLicPath,
String  location 
)
inline

start smart editing

Parameters
scdFileListscd file path list
videoFileListvideo or photo file path list
templatePathListtemplate file path list
captionPathcaption file path
captionLicPathcaption lic file path
filterPathfilter file path
filterLicPathfilter lic file path
locationlocation info,will be displayed in the video as a caption
Returns
Returns a boolean value. true means successful and false means failure

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