# 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)

*** ** * ** ***


```
public final class ClearCreationOptionsRequest.PerTypeConfig
```

<br />

*** ** * ** ***

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

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#PerTypeConfig(kotlin.Boolean,kotlin.String,kotlin.collections.List)( boolean isDeleteAll, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html type, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html> registryIds )` constructs an instance of `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#getRegistryIds()()` the IDs of the creation options for the given type to delete, matching one or more `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#id()` used during creation options registration |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#getType()()` the type of creation options to clear, matching the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#type()` provided provided during the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` call |
| `final boolean` | `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest.PerTypeConfig#isDeleteAll()()` whether to delete all creation options for the given type |

## Public constructors

### PerTypeConfig

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

```
public PerTypeConfig(
    boolean isDeleteAll,
    @NonNull String type,
    @NonNull List<@NonNull String> registryIds
)
```

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

| Parameters |
|---|---|
| `boolean isDeleteAll` | whether to delete all creation options for the given type |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html type` | the type of creation options to clear, matching the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#type()` provided provided during the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` call |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html> registryIds` | the IDs of the creation options for the given type to delete, matching one or more `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest#id()` used during creation options registration |

## Public methods

### getRegistryIds

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

```
public final @NonNull List<@NonNull String> getRegistryIds()
```

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

### getType

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

```
public final @NonNull String getType()
```

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

### isDeleteAll

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

```
public final boolean isDeleteAll()
```

whether to delete all creation options for the given type