Enumerations
The following enumerations are available globally.
-
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 -
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, }Swift
struct SCCameraKitLensMediaPickerProviderAllowedMediaType : OptionSet -
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSInteger, SCCameraKitLensMediaPickerAssetType) { SCCameraKitLensMediaPickerAssetTypeImage, SCCameraKitLensMediaPickerAssetTypeVideo, }Swift
enum SCCameraKitLensMediaPickerAssetType : Int -
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
Enumerations Reference