ALCameraOverlayStyle

@MainActor
public protocol ALCameraOverlayStyle

Used to customize the style of the ALCameraOverlayView.

  • The content parameter type.

    Declaration

    Swift

    typealias Content = AnyView
  • The title type.

    Declaration

    Swift

    associatedtype TitleBody : View
  • The description type.

    Declaration

    Swift

    associatedtype DescriptionBody : View
  • The step type.

    Declaration

    Swift

    associatedtype StepBody : View
  • The hint type.

    Declaration

    Swift

    associatedtype HintBody : View
  • The success type.

    Declaration

    Swift

    associatedtype SuccessBody : View
  • The accept button type.

    Declaration

    Swift

    associatedtype AcceptButtonBody : View
  • The retake button type.

    Declaration

    Swift

    associatedtype RetakeButtonBody : View
  • The shutter button type.

    Declaration

    Swift

    associatedtype ShutterButtonBody : View
  • The flash button type.

    Declaration

    Swift

    associatedtype FlashButtonBody : View
  • The close button type.

    Declaration

    Swift

    associatedtype CloseButtonBody : View
  • Customizes the title.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeTitle(content: Content) -> TitleBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the description.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeDescription(content: Content) -> DescriptionBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the step.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeStep(content: Content) -> StepBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the hint.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeHint(content: Content) -> HintBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the success.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeSuccess(content: Content) -> SuccessBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the accept button.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeAcceptButton(content: Content) -> AcceptButtonBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the retake button.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeRetakeButton(content: Content) -> RetakeButtonBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the shutter button.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeShutterButton(content: Content) -> ShutterButtonBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the flash button.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeFlashButton(content: Content) -> FlashButtonBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.

  • Customizes the close button.

    Declaration

    Swift

    @ViewBuilder
    @MainActor
    func makeCloseButton(content: Content) -> CloseButtonBody

    Parameters

    content

    The raw content.

    Return Value

    The modified content.