Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 5.65 KB

File metadata and controls

58 lines (46 loc) · 5.65 KB

//ve-export-sdk/com.banuba.sdk.export.data/ExportParams

ExportParams

[androidJvm]
data class ExportParams(resolution: VideoResolution, aspectRatio: AspectRatio, effects: Effects, videoRangeList: VideoRangeList, debugEnabled: Boolean, destDir: File, fileExt: String, fileName: String, volumeVideo: Float, musicEffects: List<MusicEffect>, extraAudioFile: Uri, interactivePreviewParams: GifMaker.Params?, size: Size)

Data class to configure export request.

Parameters

androidJvm

resolution video resolution
aspectRatio video aspect ratio
effects visual and time effects applied to the exported video
videoRangeList video clips to be used in exported video
debugEnabled does debugging and logging enabled during export
destDir directory where exported video will be saved
fileExt exported video extension
fileName exported video name
volumeVideo video volume
musicEffects music effects applied to exported video
extraAudioFile Uri for the sound track, exported as a separate file
interactivePreviewParams configures image preview parameters
size exported video size

Constructors

ExportParams [androidJvm]
fun ExportParams(resolution: VideoResolution, aspectRatio: AspectRatio, effects: Effects, videoRangeList: VideoRangeList, debugEnabled: Boolean, destDir: File, fileExt: String = ".mp4", fileName: String, volumeVideo: Float, musicEffects: List<MusicEffect>, extraAudioFile: Uri, interactivePreviewParams: GifMaker.Params?, size: Size)

Types

Name Summary
Builder [androidJvm]
data class Builder(resolution: VideoResolution, debugEnabled: Boolean, effects: Effects?, videoRangeList: VideoRangeList?, fileName: String?, destDir: File?, volumeVideo: Float, musicEffects: List<MusicEffect>, extraAudioFile: Uri, interactivePreviewParams: GifMaker.Params?, size: Size)
Helper class for easy creation of ExportParams object

Properties

Name Summary
aspectRatio [androidJvm]
val aspectRatio: AspectRatio
debugEnabled [androidJvm]
val debugEnabled: Boolean
destDir [androidJvm]
val destDir: File
effects [androidJvm]
val effects: Effects
extraAudioFile [androidJvm]
val extraAudioFile: Uri
fileExt [androidJvm]
val fileExt: String
fileName [androidJvm]
val fileName: String
interactivePreviewParams [androidJvm]
val interactivePreviewParams: GifMaker.Params?
musicEffects [androidJvm]
val musicEffects: List<MusicEffect>
resolution [androidJvm]
val resolution: VideoResolution
size [androidJvm]
val size: Size
videoRangeList [androidJvm]
val videoRangeList: VideoRangeList
volumeVideo [androidJvm]
val volumeVideo: Float