VizAIApp
public final class VizAIApp: NSObject
Undocumented
-
Returns a VizAIApp singleton.
Declaration
Swift
public class func shared() -> VizAIApp
-
Authenticates session with Firebase, checks camera permissions, and authorizes recording.
Declaration
Swift
public func configure(apiKey: String)
-
Streams screenshots and their view controller labels to the VizAI service.
Declaration
Swift
public func activateScreenshots()
-
Stops streaming screenshots.
Declaration
Swift
public func deactivateScreenshots()
-
Overlays a view with a button that uploads a screenshot keyed to the presented view controller.
Declaration
Swift
public func overlayScreenshotButton()
-
Removes screenshot overlay view.
Declaration
Swift
public func removeScreenshotButton()
-
Begins recording and runs each model on every frame. An optional name can be sent in otherwise the date will be used (formatted like yyyy-MM-dd).
Declaration
Swift
public func startRecording(sessionName: String? = nil)
-
Terminates the recording session, if one is running.
Declaration
Swift
public func stopRecording()
-
Undocumented
Declaration
Swift
public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection)