Preview configuration

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

PreviewSettings

ParameterDefault

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

Logo

2023 © Caf. - All rights reserved