MBPCameraPreset
Objective-C
enum MBPCameraPreset : NSInteger {}
Swift
enum MBPCameraPreset : Int, @unchecked Sendable
Camera resolution preset
-
480p video will always be used
Declaration
Objective-C
MBPCameraPreset480p
Swift
case preset480p = 0
-
720p video will always be used
Declaration
Objective-C
MBPCameraPreset720p
Swift
case preset720p = 1
-
1080p video will always be used
Declaration
Objective-C
MBPCameraPreset1080p
Swift
case preset1080p = 2
-
4K video will always be used
Declaration
Objective-C
MBPCameraPreset4K
Swift
case preset4K = 3
-
The library will calculate optimal resolution based on the use case and device used
Declaration
Objective-C
MBPCameraPresetOptimal
Swift
case presetOptimal = 4
-
Device’s maximal video resolution will be used.
Declaration
Objective-C
MBPCameraPresetMax
Swift
case presetMax = 5
-
Device’s photo preview resolution will be used
Declaration
Objective-C
MBPCameraPresetPhoto
Swift
case presetPhoto = 6