Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(SCCameraKitAdjustmentsComponentErrorDomain, SCCameraKitAdjustmentsComponentError){
    
        // An unsupported adjustment was supplied. Check isAdjustmentAvailable before applying to avoid this.
        SCCameraKitAdjustmentsComponentErrorUnsupportedAdjustment = 0,
    
    }

    Swift

    typealias AdjustmentsComponentError.Code._ErrorType = AdjustmentsComponentError
  • Describes all posible facings (inversely relative to the user) that a lens can be designed for.

    See more

    Declaration

    Objective-C

    enum SCCameraKitLensFacingPreference : NSInteger {}

    Swift

    enum LensFacingPreference : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    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, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, SCCameraKitLensMediaPickerAssetType) {
        SCCameraKitLensMediaPickerAssetTypeImage,
        SCCameraKitLensMediaPickerAssetTypeVideo,
    }

    Swift

    enum SCCameraKitLensMediaPickerAssetType : Int, @unchecked Sendable
  • 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 more

    Declaration

    Objective-C

    enum SCCameraKitLensFetchStatus : NSInteger {}

    Swift

    enum LensFetchStatus : Int, @unchecked Sendable
  • Describes the status of the response sent to the lens.

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    enum SCCameraKitLensRemoteApiServiceCallStatus : NSInteger {}

    Swift

    enum LensRemoteApiServiceCallStatus : Int, @unchecked Sendable