Skip to main content

Result Screen UI

The Entrupy Android SDK's Result Screen provides immediate feedback to users after they complete the Capture Flow. This screen displays the initial status of their authentication submission and is managed entirely by the SDK.

Overview

The Result Screen is a full-screen activity that appears automatically after a successful capture submission. It serves as a bridge between the capture process and the final authentication result, providing users with:

  • Immediate Confirmation: Visual confirmation that their submission was received.
  • Status Information: Current processing status and estimated completion time.
  • Next Steps: Clear guidance on what to expect and how to access results.

1. How It Works

The Result Screen is displayed automatically by the SDK after the user completes the Capture Flow. Your application does not need to configure or trigger it — the SDK manages its presentation and lifecycle internally.

import com.entrupy.sdk.app.EntrupyApp
import com.entrupy.sdk.listeners.CaptureCallback
import com.entrupy.sdk.model.METADATA_KEY_BRAND
import com.entrupy.sdk.model.METADATA_KEY_ITEM_TYPE
import com.entrupy.sdk.model.METADATA_KEY_CUSTOMER_ITEM_ID
import com.entrupy.sdk.model.configMetadataOf

val configMetadata = configMetadataOf(
METADATA_KEY_BRAND to "Nike",
METADATA_KEY_ITEM_TYPE to "Sneakers",
METADATA_KEY_CUSTOMER_ITEM_ID to "SKU-12345"
)

EntrupyApp.sharedInstance().startCapture(
configMetadata = configMetadata,
callback = object : CaptureCallback {
override fun onCaptureStarted() {
Log.d("Capture", "Capture flow launched — Result Screen will appear after submission")
}

override fun onCaptureError(errorCode: Int, description: String) {
Log.e("Capture", "Capture failed: $description (Code: $errorCode)")
}

override fun onCaptureTimeout() {
Log.w("Capture", "Capture session timed out")
}
}
)

After the user captures and submits images, the SDK automatically:

  1. Uploads the images and metadata to Entrupy.
  2. Presents the Result Screen showing submission confirmation and processing status.
  3. Provides the user with a path to the Detail View for tracking results.

2. Result Screen Content

2.1 Submission Confirmation

  • Success Message: Clear indication that the item was submitted.
  • Submission Time: When the item was submitted for processing.

2.2 Processing Status

  • Current Status: Real-time status updates (e.g., "Processing", "Analyzing").
  • Estimated Time: ETA for completion.
  • Progress Indicators: Visual feedback while processing.

2.3 Next Steps

  • Detail View Access: A path to the Detail View for the submitted item.
  • Support Information: Contact details or support options if needed.

3. Theming

The Result Screen respects the same theming configuration as other SDK components. See UI Theme Customization for details on customizing colors and styles.

4. Transition to Detail View

Once the authentication result becomes available, users can navigate to the Detail View for comprehensive result information:

import com.entrupy.sdk.app.EntrupyApp

fun showItemResult(entrupyId: String) {
EntrupyApp.sharedInstance().displayDetailViewForItem(entrupyId)
}

Next Steps