# RemoteEntry.Builder

# RemoteEntry.Builder

Artifact:[androidx.credentials:credentials](https://developer.android.com/jetpack/androidx/releases/credentials)  
[View Source](https://cs.android.com/search?q=file:androidx/credentials/provider/RemoteEntry.kt+class:androidx.credentials.provider.RemoteEntry.Builder)  
Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/credentials/provider/RemoteEntry.Builder "View this page in Java")

<br />

```
class RemoteEntry.Builder
```

<br />

*** ** * ** ***

A builder for[RemoteEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry)

## Summary

|                                                                                                                  ### Public constructors                                                                                                                   |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry.Builder#Builder(android.app.PendingIntent))`(pendingIntent: `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)`)` |

|                                          ### Public functions                                           |
|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [RemoteEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry) | [build](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry.Builder#build())`()` Builds an instance of[RemoteEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry) |

## Public constructors

### Builder

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)  

```
Builder(pendingIntent: PendingIntent)
```  

|                                                Parameters                                                |
|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `pendingIntent: `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html) | the[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)that will get invoked when the user selects this entry, must be created with a unique request code per entry, with flag[PendingIntent.FLAG_MUTABLE](https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_MUTABLE())to allow the Android system to attach the final request, and NOT with flag[PendingIntent.FLAG_ONE_SHOT](https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_ONE_SHOT())as it can be invoked multiple times |

## Public functions

### build

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)  

```
fun build(): RemoteEntry
```

Builds an instance of[RemoteEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/RemoteEntry)