PassiveFaceCaptureFactory
class PassiveFaceCaptureFactory : ObservableObject
This class is responsible for creating instances of the PassiveFaceCaptureSessionController. It acts as a connection between the view and the controller.
-
This variable holds an instance of the PassiveFaceCaptureSessionController.
Declaration
Swift
var passiveFaceCaptureSessionController: PassiveFaceCaptureSessionController?
-
This method returns an instance of the PassiveFaceCaptureSessionController. If the controller is not already created, it creates a new instance. It ensures that only one instance of the controller is created and reused.
Declaration
Swift
func getFaceCaptureSessionController() -> PassiveFaceCaptureSessionController