InputService
extension InputService: AVCaptureDataDelegate
extension InputService: InputServicing
-
Declaration
Swift
public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection)
-
Declaration
Swift
public func captureOutput(_ output: AVCaptureOutput, didDrop sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection)
-
Declaration
Swift
public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingRawPhoto rawSampleBuffer: CMSampleBuffer?, previewPhoto previewPhotoSampleBuffer: CMSampleBuffer?, resolvedSettings: AVCaptureResolvedPhotoSettings, bracketSettings: AVCaptureBracketedStillImageSettings?, error: Error?)
-
Declaration
Swift
public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photoSampleBuffer: CMSampleBuffer?, previewPhoto previewPhotoSampleBuffer: CMSampleBuffer?, resolvedSettings: AVCaptureResolvedPhotoSettings, bracketSettings: AVCaptureBracketedStillImageSettings?, error: Error?)
-
Declaration
Swift
public func configureExposureSettings(_ point: CGPoint, useContinuousDetection: Bool)
-
Declaration
Swift
public func configureFocusSettings(_ point: CGPoint, useContinuousDetection: Bool)
-
Declaration
Swift
public var exposurePointOfInterest: CGPoint { get }
-
Declaration
Swift
public func setTorch(mode: AVCaptureDevice.TorchMode) -> AVCaptureDevice.TorchMode
-
Declaration
Swift
public func toggleTorch() -> AVCaptureDevice.TorchMode
-
Declaration
Swift
public var currentFieldOfView: Float { get }
-
Declaration
Swift
public var isZoomFactorAdjustable: Bool { get }
-
Declaration
Swift
public var minZoomFactor: Float { get }
-
Declaration
Swift
public var maxZoomFactor: Float { get }
-
Declaration
Swift
public var zoomFactor: Float { get }
-
Declaration
Swift
public func setZoomFactor(_ zoomFactor: Float) -> Float
-
Declaration
Swift
public func startCamera()
-
Declaration
Swift
public func stopCamera()
-
Declaration
Swift
public func releaseAudioCaptureSession()
-
Declaration
Swift
public func initiatePhotoCapture( cameraSettings: CameraPhotoSettings, completion: @escaping (CVImageBuffer?, BNBFrameData?) -> Void )
-
Declaration
Swift
public var isFrontCamera: Bool { get }
-
Declaration
Swift
public var isCameraCapturing: Bool { get }
-
Declaration
Swift
public var isAudioCapturing: Bool { get }
-
Declaration
Swift
public var currentCameraSessionType: CameraSessionType { get }
-
Declaration
Swift
public func setCameraSessionType(_ type: CameraSessionType, completion: @escaping RotateCameraCallBack)
-
Declaration
Swift
public func setCameraSessionType(_ type: CameraSessionType)
-
Declaration
Swift
public func setCameraSessionType(_ type: CameraSessionType, zoomFactor: Float, completion: @escaping RotateCameraCallBack)
-
Declaration
Swift
public func startAudioCapturing()
-
Declaration
Swift
public func stopAudioCapturing()
-
Declaration
Swift
override public func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)