ScannerApp-Swift Documentation

Class Camera​Stream​Info

class CameraStreamInfo: StreamInfo  

data holder class for camera stream

Initializers

init(id:​type:​encoding:​frequency:​number​OfFrames:​file​Extension:​resolution:​intrinsics:​extrinsics:​)

internal init(id: String, type: String, encoding: String, frequency: Int, numberOfFrames: Int, fileExtension: String, resolution: [Int], intrinsics: [Float]?, extrinsics: [Float]?)  

Methods

encode(to:​)

override func encode(to encoder: Encoder) throws