class Builder
Builder() |
fun build(): ResizeOption
Build ResizeOption object. |
|
fun setCallback(callback: (Int, String) -> Unit): Builder
set callback for result. this methods use higher-order functions. do not use this methods in java, use setCallback instead. fun setCallback(callback: F2<Int, String>): Builder
set callback for result. this methods use F2 interface. use setCallback in Kotlin instead. |
|
fun setImageResizeOption(imageResizeOption: ImageResizeOption): Builder
set ImageResizeOption class to resize image. set this methods when you use Image Resizing. |
|
fun setMediaType(mediaType: MediaType): Builder
set media type to resize It have two options to set, default is MediaType.IMAGE see MediaType class to see all of available options. |
|
fun setOutputPath(outputPath: String): Builder
set output path for output file. |
|
fun setTargetPath(targetPath: String): Builder
set target path for input file. |
|
fun setVideoResizeOption(videoResizeOption: VideoResizeOption): Builder
set VideoResizeOption class to resize video. set this methods when you use Video Resizing. |