CameraBottomNavigationBarAdapter

public protocol CameraBottomNavigationBarAdapter : InjectedViewAdapter

Protocol for injecting a custom bottom navigation bar on the camera screen.

Note

Bottom navigation only.
  • Called when the displayed buttons have to change. Show only the buttons that are in the list.

    Declaration

    Swift

    func showButtons(
        navigationBar: UIView,
        navigationButtons: [CameraNavigationBarBottomButton])

    Parameters

    navigationBar

    The navigation bar that holds buttons

    navigationButtons

    The list of buttons that have to be shown

  • Set the callback for the help button action.

    Declaration

    Swift

    func setHelpButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in help button action method

  • Set the callback for the back button action.

    Declaration

    Swift

    func setBackButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in back button action method