Preview configuration

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



boolean show

Enables/disables the feature.


.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


2023 © Caf. - All rights reserved