LMDefaultUICustomizer
public class LMDefaultUICustomizer : LMUICustomizerProtocol
Standard customizer implementation. The customizer provides UI elements overlaying the video stream.
-
Initialize customizer
Declaration
Swift
public init(showCameraButton: Bool = false)
Parameters
showCameraButton
set to true if you need camera switch button. False by default.
-
When SDK should create face tracking frame over video stream it uses this method for custom view or takes default
Declaration
Swift
public func faceDetectionFrameView() -> (any LMFaceDetectionViewProtocol)?
Return Value
LMFaceDetectionView object
-
Root UI customization view, that contains face detection frame and notification view. Also it can contain any user custom ui elements
Declaration
Swift
public func rootCustomizationView() -> LMRootCustomizationViewProtocol
Return Value
LMRootCustomizationView object
-
When SDK should create notification view for user it uses this method for custom view or takes default
Declaration
Swift
public func videoStreamNotificationView() -> (any LMVideoStreamNotificationViewProtocol)?
Return Value
LMVideoStreamNotificationView object