MBCameraPreset
Objective-C
enum MBCameraPreset : NSInteger {}
Swift
enum MBCameraPreset : Int, @unchecked Sendable
Camera resolution preset
-
480p video will always be used
Declaration
Objective-C
MBCameraPreset480p
Swift
case preset480p = 0
-
720p video will always be used
Declaration
Objective-C
MBCameraPreset720p
Swift
case preset720p = 1
-
1080p video will always be used
Declaration
Objective-C
MBCameraPreset1080p
Swift
case preset1080p = 2
-
4K video will always be used
Declaration
Objective-C
MBCameraPreset4K
Swift
case preset4K = 3
-
The library will calculate optimal resolution based on the use case and device used
Declaration
Objective-C
MBCameraPresetOptimal
Swift
case presetOptimal = 4
-
Device’s maximal video resolution will be used.
Declaration
Objective-C
MBCameraPresetMax
Swift
case presetMax = 5
-
Device’s photo preview resolution will be used
Declaration
Objective-C
MBCameraPresetPhoto
Swift
case presetPhoto = 6