CameraServicing
@objc
public protocol CameraServicing
-
Declaration
Swift
var delegate: InputServiceDelegate? { get set } -
Declaration
Swift
var isFrontCamera: Bool { get } -
Declaration
Swift
var isCameraCapturing: Bool { get } -
Declaration
Swift
var isAudioCapturing: Bool { get } -
Declaration
Swift
var currentCameraSessionType: CameraSessionType { get } -
Declaration
Swift
var exposurePointOfInterest: CGPoint { get } -
Declaration
Swift
var flipCamera: Bool { get set } -
Declaration
Swift
func startCamera() -
Declaration
Swift
func stopCamera() -
Declaration
Swift
func initializeCameraInput() -
Declaration
Swift
func releaseAudioCaptureSession() -
Declaration
Swift
func setCameraSessionType(_ type: CameraSessionType) -
Declaration
Swift
func setCameraSessionType(_ type: CameraSessionType, completion: @escaping RotateCameraCallBack) -
Declaration
Swift
func setCameraSessionType(_ type: CameraSessionType, zoomFactor: Float, completion: @escaping RotateCameraCallBack) -
Declaration
Swift
func configureExposureSettings(_ point: CGPoint, useContinuousDetection: Bool) -
Declaration
Swift
func configureFocusSettings(_ point: CGPoint, useContinuousDetection: Bool) -
Declaration
Swift
func setTorch(mode: AVCaptureDevice.TorchMode) -> AVCaptureDevice.TorchMode -
Declaration
Swift
func toggleTorch() -> AVCaptureDevice.TorchMode -
Declaration
Swift
func initiatePhotoCapture( cameraSettings: CameraPhotoSettings, completion: @escaping (CVImageBuffer?, BNBFrameData?) -> Void ) -
Declaration
Swift
func switchCamera(to type: CameraSessionType, completion: @escaping RotateCameraCallBack) -
Declaration
Swift
func restoreCurrentCameraSessionSettings(completion: (() -> Void)?)
CameraServicing Protocol Reference