MBPreviewScaleType

enum MBPreviewScaleType : Enum<MBPreviewScaleType>

MBPreviewScaleType fits the video content to the view either by cropping or letterboxing maintaining the original aspect ratio

Entries

FILL_CENTER
Link copied to clipboard
FILL_CENTER aligns the video frame with the center of the preview but crops the starting and ending columns
FIT_CENTER
Link copied to clipboard
FIT_CENTER fits the video frame to the center of the preview and keeps the original frame resolution

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int