> For the complete documentation index, see [llms.txt](https://legacy-docs.usesmileid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.usesmileid.com/integration-options/mobile/android/smile-identity-ui/selfie-configuration.md).

# Selfie Configuration

SIDSelfieCaptureConfig is accessed via a builder pattern using the below method

```
SIDSelfieCaptureConfig.Builder()
```

Once the builder is available then more methods can be used

#### builder.setCameraFace

Takes an enum which is either FRONT or BACK and will use the front camera or back camera respectively

#### builder.setManualCapture

Default : false

This will stop the SDK from capturing the selfie automatically but will present a button first for the user to click and continue to the next step

#### builder.setFlashScreen

Default : true

Screen will flash when the selfie is captured and when will not when set to false

#### builder.setPromptFaceNotFound

Default : Please move your face inside the oval

Prompt for when capturing and no face is detected

#### builder.setPromptMoveCloser

Default : Please move closer

Prompt for a when a face is detected but user is too far from the camera

#### builder.setPromptDoSmile

Default : Please smile

Prompt for asking the user to smile whilst capturing the selfie

#### builder.setPromptCapturing

Default:Capturing selfie, please stay still

Prompt for when capturing is in progress

#### builder.setPromptFaceTooClose

Default:Please move back

Prompt for when the face has been detected but is too close to the camera

#### builder.setPromptTooDark

Default:Insufficient light

Prompt for when there is no sufficient light to capture

#### builder.setPromptBlurry

Default:Please keep your camera still

Prompt for when the image is not clear enough

#### builder.setPromptIdle

Default:Camera has been idle for too long

Prompt for when camera has been idle and nothing has happened in a while

#### builder.setPromptCompatibilityMode

Default:This device does not support selfie capture

Prompt for when the device is not supported

#### builder.setCapturingProgressColor

Default:#cc0ea5de

Colour for the progress circle outlining the oval for selfie capture

#### builder.setCapturedProgressColor

Default:#990ea5de

Colour for the progress circle outlining the oval for selfie capture after capture is complete

#### builder.setCaptureTip

Default:Make sure your face is clear enough & the photo is not blurry

Copy for the tip displayed below the prompt on the selfie capture screen

#### builder.setCaptureTitle

Default:

#### builder.setReviewTitle

#### builder.setReviewPrompt

#### builder.setReviewTip

#### builder.setReviewConfirmButton

#### builder.setReviewRetakeButton

#### builder.setReviewConfirmButtonColor

#### builder.setReviewConfirmButtonStyle

#### builder.setReviewRetakeButtonStyle

#### builder.setOverlayColor

#### builder.setOverlayAlpha

#### builder.setOverlayThickness

#### builder.setOverlayDotted

#### builder.setCaptureFullScreen

#### builder.setPromptStyle

#### builder.setTipStyle

#### builder.setReviewPromptStyle

#### builder.setReviewTipStyle

#### builder.setTitleStyle

#### builder.setOverlayWidth

#### builder.setOverlayHeight


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://legacy-docs.usesmileid.com/integration-options/mobile/android/smile-identity-ui/selfie-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
