Biometrid IOS SDK
3.0.2
3.0.2
  • Introduction
  • Standard SDK
    • Prerequisites
    • Requirements
    • Initialization
    • Enums
    • Installation
      • Zip file
      • CocoaPods
    • Process Management
      • Create process
      • Get Step State
      • Update Step
      • Previous Step
    • Liveness Detection
    • Auto Capture
      • MRZ Capture
      • Configurations
    • Camera
      • Configurations
    • NFC
      • Scan Result
      • Configurations
    • Video Conference
    • Biometric Authentication
      • Configurations
    • Device Location
      • Configurations
    • Presence Detection
      • Configurations
  • FULL SDK
    • Requirements
    • Usage
    • Installation
      • Zip file
      • CocoaPods
    • Initialization
    • Start
    • Stop
    • Callbacks
Powered by GitBook
On this page
  • Implementation example
  • Callback params

Was this helpful?

  1. Standard SDK

Video Conference

This section contains the necessary knowledge to understand the start video conference in BiometridStandard.

BiometridStandard.getInstance().startVideoconference(processId: processId, viewController: self, callback: self)
Parameter
Description

processId: String

Process id

viewController: UIViewController

View Controller to open the liveness engine

callback: ProcessCallback?

callback

Implementation example

import UIKit
import BiometridStandardSDK

class ViewController: UIViewController, ProcessCallback {
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    @IBAction func startVideoconferenceDetectionBtn(_ sender: Any) {
        BiometridStandard.getInstance().startVideoconference(processId: "id", viewController: self, callback: self)
    }
    
    func videoconferenceCallback(status: Bool, videoconferenceState: VideoconferenceState?, error: Errors?) {
        if !status || error != nil {
            print(error?.rawValue)
            return
        }
        print("result", videoconferenceState)
    }
}

Callback params

Parameter
Description

status: Bool

Method request status

videoconferenceState: VideoconferenceState?

State of videoconference

error: Errors?

Errors associated enum

PreviousConfigurationsNextBiometric Authentication

Was this helpful?