ScannerApp-Swift Documentation

Class Single​Camera​Recording​Manager

class SingleCameraRecordingManager: NSObject  
%77 SingleCameraRecordingManager SingleCameraRecordingManager AVCaptureDepthDataOutputDelegate AVCaptureDepthDataOutputDelegate SingleCameraRecordingManager->AVCaptureDepthDataOutputDelegate NSObject NSObject SingleCameraRecordingManager->NSObject RecordingManager RecordingManager SingleCameraRecordingManager->RecordingManager AVCaptureFileOutputRecordingDelegate AVCaptureFileOutputRecordingDelegate SingleCameraRecordingManager->AVCaptureFileOutputRecordingDelegate

Conforms To

AVCaptureDepthDataOutputDelegate
AVCaptureFileOutputRecordingDelegate
NSObject

Initializers

init()

override init()  

Properties

is​Recording

var isRecording: Bool  

Methods

get​Session()

func getSession() -> NSObject  

start​Recording(username:​scene​Description:​scene​Type:​)

func startRecording(username: String, sceneDescription: String, sceneType: String)  

stop​Recording()

func stopRecording()  

file​Output(_:​did​Finish​Recording​To:​from:​error:​)

func fileOutput(_ output: AVCaptureFileOutput,
                    didFinishRecordingTo outputFileURL: URL,
                    from connections: [AVCaptureConnection],
                    error: Error?)  

write camera metadata to file

depth​Data​Output(_:​did​Output:​timestamp:​connection:​)

func depthDataOutput(_ output: AVCaptureDepthDataOutput, didOutput depthData: AVDepthData, timestamp: CMTime, connection: AVCaptureConnection)  

depth​Data​Output(_:​did​Drop:​timestamp:​connection:​reason:​)

func depthDataOutput(_ output: AVCaptureDepthDataOutput, didDrop depthData: AVDepthData, timestamp: CMTime, connection: AVCaptureConnection, reason: AVCaptureOutput.DataDroppedReason)