# ClearCreationOptionsRequest.PerTypeConfig

Artifact: [androidx.credentials.registry:registry-provider](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/provider/ClearCreationOptionsRequest.kt+class:androidx.credentials.registry.provider.ClearCreationOptionsRequest.PerTypeConfig) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
class ClearCreationOptionsRequest.PerTypeConfig
```

<br />

*** ** * ** ***

Configures how to clear the creation options for a given type.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#PerTypeConfig(kotlin.Boolean,kotlin.String,kotlin.collections.List)( isDeleteAll: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, registryIds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html> )` constructs an instance of `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#isDeleteAll()` whether to delete all creation options for the given type |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#registryIds()` the IDs of the creation options for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#id()` used during creation options registration |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#type()` the type of creation options to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` call |

## Public constructors

### PerTypeConfig

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
PerTypeConfig(
    isDeleteAll: Boolean,
    type: String,
    registryIds: List<String>
)
```

constructs an instance of `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig`

| Parameters |
|---|---|
| `isDeleteAll: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether to delete all creation options for the given type |
| `type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the type of creation options to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` call |
| `registryIds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | the IDs of the creation options for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#id()` used during creation options registration |

## Public properties

### isDeleteAll

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val isDeleteAll: Boolean
```

whether to delete all creation options for the given type

### registryIds

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val registryIds: List<String>
```

the IDs of the creation options for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#id()` used during creation options registration

### type

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val type: String
```

the type of creation options to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` call