View

public extension View

ALOverlayStyle environment.

  • Set style.

    Declaration

    Swift

    @MainActor
    func alCameraOverlayStyle<S>(_ style: S) -> some View where S : ALCameraOverlayStyle

    Parameters

    style

    The style to apply.

    Return Value

    self with the style applied.

  • Set style.

    Declaration

    Swift

    @MainActor
    func alFailureStyle<S>(_ style: S) -> some View where S : ALFailureStyle

    Parameters

    style

    The style to apply.

    Return Value

    self with the style applied.