# Customisation

Truecaller SDK provides you with capabilities to configure the following:

<figure><img src="https://3916632365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJzE3kcOEptTlnx7Hgg25%2Fuploads%2FlaFG2xmhOyuNRXaxPju6%2FB.jpeg?alt=media&#x26;token=ab5338c8-42be-4478-baf3-31941a0aa7db" alt=""><figcaption></figcaption></figure>

Refer to the below section for details on all the customization capabilities and the possible values you may set:

```
TcSdkOptions.Builder(this, tcOAuthCallback)
       .buttonShapeOptions(TcSdkOptions.BUTTON_SHAPE_ROUNDED)
       .footerType(TcSdkOptions.FOOTER_TYPE_ANOTHER_MOBILE_NO)
       .sdkOptions(TcSdkOptions.OPTION_VERIFY_ONLY_TC_USERS)
       .ctaText(TcSdkOptions.CTA_TEXT_ACCEPT)
       .heading(TcSdkOptions.LOGIN_TEXT_PREFIX_TO_GET_STARTED)
       .buttonColor(1111)
       .buttonTextColor(1111)
       .build()
```

**Contextual header \[ .heading() ]**&#x20;

To provide the appropriate context of verification to the Truecaller user, use one of the below mentioned TruecallerSdkScope values to show the corresponding message to the user

|                                      |                                                                 |
| ------------------------------------ | --------------------------------------------------------------- |
| Log in to                            | TcSdkOptions.SDK\_CONSENT\_HEADING\_LOG\_IN\_TO                 |
| Sign up with                         | TcSdkOptions.SDK\_CONSENT\_HEADING\_SIGNUP\_WITH                |
| Sign in to                           | TcSdkOptions.SDK\_CONSENT\_HEADING\_SIGN\_IN\_TO                |
| Verify number with                   | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_NUMBER\_WITH        |
| Register with                        | TcSdkOptions.SDK\_CONSENT\_HEADING\_REGISTER\_WITH              |
| Get started with                     | TcSdkOptions.SDK\_CONSENT\_HEADING\_GET\_STARTED\_WITH          |
| Proceed with                         | TcSdkOptions.SDK\_CONSENT\_HEADING\_PROCEED\_WITH               |
| Verify with                          | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_WITH                |
| Verify profile with                  | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_PROFILE\_WITH       |
| Verify your profile with             | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_YOUR\_PROFILE\_WITH |
| Verify your phone number with        | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_PHONE\_NO\_WITH     |
| Verify your number with              | TcSdkOptions.SDK\_CONSENT\_HEADING\_VERIFY\_YOUR\_NO\_WITH      |
| Continue with                        | TcSdkOptions.SDK\_CONSENT\_HEADING\_CONTINUE\_WITH              |
| Complete order with                  | TcSdkOptions.SDK\_CONSENT\_HEADING\_COMPLETE\_ORDER\_WITH       |
| Place order with                     | TcSdkOptions.SDK\_CONSENT\_HEADING\_PLACE\_ORDER\_WITH          |
| Complete booking with                | TcSdkOptions.SDK\_CONSENT\_HEADING\_COMPLETE\_BOOKING\_WITH     |
| Checkout with                        | TcSdkOptions.SDK\_CONSENT\_HEADING\_CHECKOUT\_WITH              |
| Manage Details with                  | TcSdkOptions.SDK\_CONSENT\_HEADING\_MANAGE\_DETAILS\_WITH       |
| Manage your details with             | TcSdkOptions.SDK\_CONSENT\_HEADING\_MANAGE\_YOUR\_DETAILS\_WITH |
| Login to <\<APP\_NAME>> with one tap | TcSdkOptions.SDK\_CONSENT\_HEADING\_LOGIN\_TO\_WITH\_ONE\_TAP   |
| Subscribe to                         | TcSdkOptions.SDK\_CONSENT\_HEADING\_SUBSCRIBE\_TO               |
| Get updates from                     | TcSdkOptions.SDK\_CONSENT\_HEADING\_GET\_UPDATES\_FROM          |
| Continue reading on                  | TcSdkOptions.SDK\_CONSENT\_HEADING\_CONTINUE\_READING\_ON       |
| Get new updates from                 | TcSdkOptions.SDK\_CONSENT\_HEADING\_GET\_NEW\_UPDATES\_FROM     |
| Log in/ Signup with                  | TcSdkOptions.SDK\_CONSENT\_HEADING\_LOGIN\_SIGNUP\_WITH         |

**Button text options \[ .ctaTextPrefix() ]**&#x20;

To set the prefix on the CTA button

| Continue | TcSdkOptions.CTA\_TEXT\_CONTINUE |
| -------- | -------------------------------- |
| Proceed  | TcSdkOptions.CTA\_TEXT\_PROCEED  |
| Accept   | TcSdkOptions.CTA\_TEXT\_ACCEPT   |
| Confirm  | TcSdkOptions.CTA\_TEXT\_COFIRM   |

**Button shape \[ .buttonShapeOptions() ]**&#x20;

To chose the shape of the CTA button

| Round     | TcSdkOptions.BUTTON\_SHAPE\_ROUNDED   |
| --------- | ------------------------------------- |
| Rectangle | TcSdkOptions.BUTTON\_SHAPE\_RECTANGLE |

**Footer CTA text \[ .footerType() ]**&#x20;

To configure the text of the additional footer CTA present at the bottom

| Use another number     | TcSdkOptions.FOOTER\_TYPE\_CONTINUE        |
| ---------------------- | ------------------------------------------ |
| Use another method     | TcSdkOptions.FOOTER\_TYPE\_ANOTHER\_METHOD |
| Enter details manually | TcSdkOptions.FOOTER\_TYPE\_MANUALLY        |
| Later                  | TcSdkOptions.FOOTER\_TYPE\_LATER           |

**Privacy policy :**&#x20;

To add your privacy policy link on the verification screen, you can configure the respective hyperlink from your developer account

**Terms of service:** To add your terms of service link on the verification screen, you can configure the respective hyperlink from your developer account

**Language** You can optionally customize the consent screen in any of the supported languages. To do so, add the following line :

Copy

```
val locale = Locale("hi") // change language to Hindi
TcSdk.getInstance().setLocale(locale)
```

Currently supported languages:

| english   | en |
| --------- | -- |
| hindi     | hi |
| marathi   | mr |
| telugu    | te |
| malayalam | ml |
| urdu      | ur |
| punjabi   | pa |
| tamil     | ta |
| bengali   | bn |
| kannada   | kn |
| swahili   | sw |
| arabic    | ar |


---

# Agent Instructions: 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:

```
GET https://docs.truecaller.com/truecaller-sdk/android/oauth-sdk-3.0.0/integration-steps/customisation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
