MeiCam SDK For Android  1.0.0
Public Member Functions | List of all members
com.meicam.sdk.NvsVideoTransition Class Reference

Video transitions is the effects between clips. More...

Inheritance diagram for com.meicam.sdk.NvsVideoTransition:
com.meicam.sdk.NvsFx com.meicam.sdk.NvsObject

Public Member Functions

int getVideoTransitionType ()
 Gets video transition type. More...
 
String getBuiltinVideoTransitionName ()
 Gets built-in video transition name. More...
 
String getVideoTransitionPackageId ()
 Gets the video transition resource package ID. More...
 
void setVideoTransitionDurationScaleFactor (float scaleFactor)
 Sets video transition duration scaling ratio. More...
 
float getVideoTransitionDurationScaleFactor ()
 Gets video transition duration scaling ratio. More...
 
- Public Member Functions inherited from com.meicam.sdk.NvsFx
NvsFxDescription getDescription ()
 Gets decription of Fx. More...
 
void setIntVal (String fxParam, int val)
 Sets the integer parameter of NvsFx. More...
 
int getIntVal (String fxParam)
 Gets the integer parameter of NvsFx. More...
 
void setFloatVal (String fxParam, double val)
 Sets the float parameter of NvsFx. More...
 
double getFloatVal (String fxParam)
 Gets the float parameter of NvsFx. More...
 
void setBooleanVal (String fxParam, boolean val)
 Sets the boolean parameter of NvsFx. More...
 
boolean getBooleanVal (String fxParam)
 Gets the boolean parameter of NvsFx. More...
 
void setStringVal (String fxParam, String val)
 Sets the string parameter of NvsFx. More...
 
String getStringVal (String fxParam)
 Gets the string parameter of NvsFx. More...
 
void setColorVal (String fxParam, NvsColor val)
 Sets the color parameter of NvsFx. More...
 
NvsColor getColorVal (String fxParam)
 Gets the color parameter of NvsFx. More...
 
void setPosition2DVal (String fxParam, NvsPosition2D val)
 Sets the two dimentional coordinates parameter of NvsFx. More...
 
NvsPosition2D getPosition2DVal (String fxParam)
 Gets the two dimentional coordinates parameter of NvsFx. More...
 
void setPosition3DVal (String fxParam, NvsPosition3D val)
 Sets the three dimentional coordinates parameter of NvsFx. More...
 
NvsPosition3D getPosition3DVal (String fxParam)
 Gets the three dimentional coordinates parameter of NvsFx. More...
 
void setMenuVal (String fxParam, String val)
 Sets the menu parameter of NvsFx. More...
 
String getMenuVal (String fxParam)
 Gets the menu parameter of NvsFx. More...
 
void setFilterIntensity (float intensity)
 Sets the intensity of the filter. More...
 
float getFilterIntensity ()
 Gets the intensity of the filter. More...
 
NvsParticleSystemContext getParticleSystemContext ()
 
NvsARFaceContext getARFaceContext ()
 
NvsPaintingEffectContext getPaintingEffectContext ()
 
NvsARSceneManipulate getARSceneManipulate ()
 获得NvsARSceneManipulate接口 More...
 
- Public Member Functions inherited from com.meicam.sdk.NvsObject
void setAttachment (String key, Object value)
 Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More...
 
Object getAttachment (String key)
 Gets an attachment to NvsObject. More...
 

Static Public Attributes

Video transition type

static final int VIDEO_TRANSITION_TYPE_BUILTIN = 0
 
static final int VIDEO_TRANSITION_TYPE_PACKAGE = 1
 

Additional Inherited Members

- Protected Member Functions inherited from com.meicam.sdk.NvsObject
void setInternalObject (long internalObject)
 
long getInternalObject ()
 
- Protected Attributes inherited from com.meicam.sdk.NvsObject
long m_internalObject = 0
 

Detailed Description

Video transitions is the effects between clips.

There are multiple clips on the track. The transition is the transition effect from one video clip to another, and no video transitions can be added between clips with gaps. Currently it supports multiple video transitions including fade, turning, swap, stretch in, page curl, lens flare, star, dip to black, dip to white,push to right, push to top, upper left into.
Each video transition can be set and retrieved via video track (NvsVideoTrack). The default transition is fade.

Warning
In the NvsVideoTransition class, all public APIs are used in the UI thread! ! !

Member Function Documentation

String com.meicam.sdk.NvsVideoTransition.getBuiltinVideoTransitionName ( )
inline

Gets built-in video transition name.

Returns
Returns the name of the built-in video transition. If it is not a built-in video transition, it will return a null string.
Since
1.7.0
float com.meicam.sdk.NvsVideoTransition.getVideoTransitionDurationScaleFactor ( )
inline

Gets video transition duration scaling ratio.

Returns
Returns the video transition duration scaling ratio.
Since
1.15.0
String com.meicam.sdk.NvsVideoTransition.getVideoTransitionPackageId ( )
inline

Gets the video transition resource package ID.

Returns
Returns the video transition resource package ID. If it is not a resource package video transition, it will return a null string.
Since
1.7.0
int com.meicam.sdk.NvsVideoTransition.getVideoTransitionType ( )
inline

Gets video transition type.

Returns
Returns the video transition type. Please refer toVideo Transition Type.
Since
1.7.0
void com.meicam.sdk.NvsVideoTransition.setVideoTransitionDurationScaleFactor ( float  scaleFactor)
inline

Sets video transition duration scaling ratio.

Parameters
scaleFactorVideo transition duration scaling ratio with the range of values (0,1]
Since
1.15.0

Member Data Documentation

final int com.meicam.sdk.NvsVideoTransition.VIDEO_TRANSITION_TYPE_BUILTIN = 0
static
final int com.meicam.sdk.NvsVideoTransition.VIDEO_TRANSITION_TYPE_PACKAGE = 1
static

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