For the complete documentation index, see llms.txt. This page is also available as Markdown.

Preview configuration

This page explains the possible settings for displaying the capture preview screen.

PreviewSettings

Parameter
Default

boolean show

Enables/disables the feature.

false

.setTitle(@NonNull @StringRes Integer titleResourceId)

Sets the title shown on the screen.

"A foto ficou boa?"

.setSubtitle(@NonNull @StringRes Integer subtitleResourceId)

Sets the subtitle displayed on the screen.

Default by SDK

.setConfirmLabel(@NonNull @StringRes Integer confirmLabelResourceId)

Sets the message displayed on the confirmation button.

"Sim, ficou boa!"

.setRetryLabel(@NonNull @StringRes Integer retryLabelResourceId)

Sets the message displayed on the button to perform a new capture.

"Tirar novamente"

Last updated