Enumerations
The following enumerations are available globally.
-
Undocumented
See moreDeclaration
Objective-C
NS_ERROR_ENUM(SCCameraKitAdjustmentsComponentErrorDomain, SCCameraKitAdjustmentsComponentError){ // An unsupported adjustment was supplied. Check isAdjustmentAvailable before applying to avoid this. SCCameraKitAdjustmentsComponentErrorUnsupportedAdjustment = 0, } -
Cache types managed by SCCameraKitCachesManager.
See moreDeclaration
Objective-C
enum SCCameraKitCacheType : NSUInteger {}Swift
enum CacheType : UInt, @unchecked Sendable -
Describes all posible facings (inversely relative to the user) that a lens can be designed for.
See moreDeclaration
Objective-C
enum SCCameraKitLensFacingPreference : NSInteger {}Swift
enum LensFacingPreference : Int, @unchecked Sendable -
Undocumented
See moreDeclaration
Objective-C
NS_OPTIONS(NSInteger, SCCameraKitLensMediaPickerProviderAllowedMediaType) { // The current lens has not provided any specific indication of the type of picker that should be shown. SCCameraKitLensMediaPickerProviderAllowedMediaTypeNoneSpecified = 0, // Images should be shown in the picker. SCCameraKitLensMediaPickerProviderAllowedMediaTypeImage = 1 << 0, // If LensMediaPickerProviderAllowedMediaTypeImage is specified, the provider should ONLY show images with a // person's face in them // If LensMediaPickerProviderAllowedMediaTypeImage is not specified, this option is ignored. SCCameraKitLensMediaPickerProviderAllowedMediaTypeImageCroppedToFace = 1 << 1, // Videos should be shown in the picker SCCameraKitLensMediaPickerProviderAllowedMediaTypeVideo = 1 << 2, } -
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger, SCCameraKitLensMediaPickerAssetType) { SCCameraKitLensMediaPickerAssetTypeImage, SCCameraKitLensMediaPickerAssetTypeVideo, } -
Describes the fetch status for the lens Unloaded - lens content has not been fetched or loaded Loading - lens content is currently being downloaded Loaded - lens content has already been downloaded and fetched
See moreDeclaration
Objective-C
enum SCCameraKitLensFetchStatus : NSInteger {}Swift
enum LensFetchStatus : Int, @unchecked Sendable -
Priority of the fetch task, used to determine the order of execution.
See moreDeclaration
Objective-C
enum SCCameraKitLensFetchPriority : NSInteger {}Swift
enum LensFetchPriority : Int, @unchecked Sendable -
Describes the status of the response sent to the lens.
See moreDeclaration
Objective-C
enum SCCameraKitLensRemoteApiResponseStatus : NSInteger {}Swift
enum SCCameraKitLensRemoteApiResponseStatus : Int, @unchecked Sendable -
Describes the status of the call for the request handled by a remote api service.
See moreDeclaration
Objective-C
enum SCCameraKitLensRemoteApiServiceCallStatus : NSInteger {}Swift
enum LensRemoteApiServiceCallStatus : Int, @unchecked Sendable -
The types of haptic feedback to trigger
See moreDeclaration
Objective-C
enum SCCameraKitHapticFeedbackType : NSInteger {}Swift
enum HapticFeedbackType : Int, @unchecked Sendable -
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger, SCCameraKitPreviewViewContentMode) { SCCameraKitPreviewViewContentModeScaleToFill, SCCameraKitPreviewViewContentModeAspectFill, SCCameraKitPreviewViewContentModeAspectFit }Swift
enum SCCameraKitPreviewViewContentMode : Int, @unchecked Sendable
Enumerations Reference