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 description.
Declaration
Swift
@ViewBuilder @MainActor func makeDescription(content: Content) -> DescriptionBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the success.
Declaration
Swift
@ViewBuilder @MainActor func makeSuccess(content: Content) -> SuccessBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the accept button.
Declaration
Swift
@ViewBuilder @MainActor func makeAcceptButton(content: Content) -> AcceptButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the retake button.
Declaration
Swift
@ViewBuilder @MainActor func makeRetakeButton(content: Content) -> RetakeButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the shutter button.
Declaration
Swift
@ViewBuilder @MainActor func makeShutterButton(content: Content) -> ShutterButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the flash button.
Declaration
Swift
@ViewBuilder @MainActor func makeFlashButton(content: Content) -> FlashButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
-
Customizes the close button.
Declaration
Swift
@ViewBuilder @MainActor func makeCloseButton(content: Content) -> CloseButtonBodyParameters
contentThe raw content.
Return Value
The modified content.
View on GitHub