MBCCameraPreset
Objective-C
enum MBCCameraPreset : NSInteger {}
Swift
enum MBCCameraPreset : Int, @unchecked Sendable
Camera resolution preset
-
480p video will always be used
Declaration
Objective-C
MBCCameraPreset480p
Swift
case preset480p = 0
-
720p video will always be used
Declaration
Objective-C
MBCCameraPreset720p
Swift
case preset720p = 1
-
1080p video will always be used
Declaration
Objective-C
MBCCameraPreset1080p
Swift
case preset1080p = 2
-
4K video will always be used
Declaration
Objective-C
MBCCameraPreset4K
Swift
case preset4K = 3
-
The library will calculate optimal resolution based on the use case and device used
Declaration
Objective-C
MBCCameraPresetOptimal
Swift
case presetOptimal = 4
-
Device’s maximal video resolution will be used.
Declaration
Objective-C
MBCCameraPresetMax
Swift
case presetMax = 5
-
Device’s photo preview resolution will be used
Declaration
Objective-C
MBCCameraPresetPhoto
Swift
case presetPhoto = 6