Classes
The following classes are available globally.
-
A controller which manages the camera and lenses stack on behalf of its owner
See moreDeclaration
Swift
open class CameraController: NSObject, LensRepositoryGroupObserver, LensPrefetcherObserver, LensHintDelegate, MediaPickerViewDelegate, AdjustmentControlViewDelegate -
Camera ring view for capturing and recording state
See moreDeclaration
Swift
@MainActor public class CameraButton : UIView, UIGestureRecognizerDelegateextension CameraButton: CAAnimationDelegate -
Undocumented
See moreDeclaration
Swift
@MainActor public class AdjustmentControlView : UIViewextension AdjustmentControlView: ControlSliderDelegate -
Undocumented
See moreDeclaration
Swift
@MainActor public class ControlSlider : UISlider -
Undocumented
See moreDeclaration
Swift
@MainActor public class CameraActionsView : UIView -
View to use for camera actions that can be enabled/disabled and configured via separate buttons.
See moreDeclaration
Swift
@MainActor public class CameraConfigurableActionView : UIView -
This is the default view that backs the CameraViewController.
See moreDeclaration
Swift
@MainActor open class CameraView : UIView -
This is the default view controller which handles setting up the camera, lenses, carousel, etc.
See moreDeclaration
Swift
@MainActor open class CameraViewController : UIViewController, CameraControllerUIDelegateextension CameraViewController: AdjustmentsProcessorObserverextension CameraViewController: CarouselViewDelegate, CarouselViewDataSourceextension CameraViewController: CameraButtonDelegateextension CameraViewController: FlashControlViewDelegateextension CameraViewController: UIAdaptivePresentationControllerDelegate -
Undocumented
See moreDeclaration
Swift
@MainActor public class FlashControlView : UIViewextension FlashControlView: FlashModeSelectionViewDelegateextension FlashControlView: ControlSliderDelegateextension FlashControlView: RingLightColorSelectionViewDelegate -
Undocumented
See moreDeclaration
Swift
@MainActor public class FlashModeSelectionView : UIView -
Undocumented
See moreDeclaration
Swift
@MainActor public class RingLightColorSelectionView : UIViewextension RingLightColorSelectionView: UICollectionViewDelegateextension RingLightColorSelectionView: UICollectionViewDataSource -
Undocumented
See moreDeclaration
Swift
@MainActor public class RingLightColorSelectionViewCell : UICollectionViewCell -
Undocumented
See moreDeclaration
Swift
@MainActor public class RingLightGradientView : UIView -
Undocumented
See moreDeclaration
Swift
@MainActor public class RingLightView : UIView -
Carousel collection view cell which represents a single lens item/icon
See moreDeclaration
Swift
@MainActor public class CarouselCollectionViewCell : UICollectionViewCell -
Custom collection view layout for carousel collection view
See moreDeclaration
Swift
@MainActor public class CarouselCollectionViewLayout : UICollectionViewFlowLayout -
Default image loader class which uses a URLSession to load images
See moreDeclaration
Swift
public class DefaultCarouselImageLoader : CarouselImageLoader -
This is the carousel item view model which represents a specific lens icon
See moreDeclaration
Swift
public class CarouselItem : Identifiable, Equatable -
Concrete class for an empty item (clear camera button)
See moreDeclaration
Swift
public class EmptyItem : CarouselItem -
A view that manages an ordered collection of data items (eg. lenses) and displays them in a swipeable row with one item always selected.
See moreDeclaration
Swift
@MainActor public class CarouselView : UIView, UICollectionViewDataSource, UICollectionViewDelegateFlowLayoutextension CarouselView: CarouselCollectionViewLayoutDelegateextension CarouselView: CarouselCollectionViewLayoutDataSource -
Internal helper to deal with resources bundle
See moreDeclaration
Swift
public class BundleHelper -
Reference implementation of a text input view for lenses that take text input.
See moreDeclaration
Swift
@objc public class KeyboardAccessoryViewProvider : NSObject, TextInputKeyboardAccessoryProvider -
Selection view for Media Picker
See moreDeclaration
Swift
@MainActor public class MediaPickerView : UIViewextension MediaPickerView: LensMediaPickerProviderUIDelegate -
Preview view controller for showing captured photos and images
See moreDeclaration
Swift
@MainActor public class ImagePreviewViewController : PreviewViewController -
Base preview view controller that describes properties and views of all preview controllers
See moreDeclaration
Swift
@MainActor public class PreviewViewController : UIViewController -
Preview view controller for showing recorded video previews
See moreDeclaration
Swift
@MainActor public class VideoPreviewViewController : PreviewViewController -
Sample video recorder implementation.
See moreDeclaration
Swift
public class Recorder -
Default user data provider to show how to provide user data to CameraKit
See moreDeclaration
Swift
public class UserDataProvider : NSObject, SCSDKCameraKit.UserDataProvider -
Bottom bar on Camera that contains Snap ghost button for actions as well as close button to clear current lens
See moreDeclaration
Swift
@MainActor public class CameraBottomBar : UIView -
Popup message notification view for different lens events
See moreDeclaration
Swift
@MainActor public class MessageNotificationView : UIView -
Snap attribution on Camera that contains “Powered by” and Snap ghost icon
See moreDeclaration
Swift
@MainActor public class SnapAttributionView : UIView -
View that appears when the user taps on the camera view
See moreDeclaration
Swift
@MainActor public class TapAnimationView : UIView
Classes Reference