ClearRegistryRequest

class ClearRegistryRequest : Parcelable


A request to clear the registries stored for your app.

The order of the conditions are important. If deleteAll is true, then the other conditions are ignored, and all the registries for your app that was registered with the IdentityCredentialClient.registerCredentials API are deleted.

Summary

Nested types

A request to configure how to clear the registries for a given type.

Public companion properties

Parcelable.Creator<ClearRegistryRequest>

Public constructors

Cosntructs a request to clear all registries for your app that was registered with the IdentityCredentials.registerCredentials API.

ClearRegistryRequest(
    deleteAll: Boolean,
    clearTypedRegistryOption: ClearRegistryRequest.ClearTypedRegistryOption?
)

constructs an instance of ClearRegistryRequest

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

ClearRegistryRequest.ClearTypedRegistryOption?

an option to clear the registries for a given type that matches the RegistrationRequest.type provided during registration

Boolean

whether to delete all registries for your app

Public companion properties

Public constructors

ClearRegistryRequest

ClearRegistryRequest()

Cosntructs a request to clear all registries for your app that was registered with the IdentityCredentials.registerCredentials API.

ClearRegistryRequest

ClearRegistryRequest(
    deleteAll: Boolean = true,
    clearTypedRegistryOption: ClearRegistryRequest.ClearTypedRegistryOption? = null
)

constructs an instance of ClearRegistryRequest

Parameters
deleteAll: Boolean = true

whether to delete all registries for your app

clearTypedRegistryOption: ClearRegistryRequest.ClearTypedRegistryOption? = null

an option to clear the registries for a given type that matches the RegistrationRequest.type provided during registration

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

clearTypedRegistryOption

val clearTypedRegistryOptionClearRegistryRequest.ClearTypedRegistryOption?

an option to clear the registries for a given type that matches the RegistrationRequest.type provided during registration

deleteAll

val deleteAllBoolean

whether to delete all registries for your app