ClearRegistryRequest

public final class ClearRegistryRequest implements 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 constructors

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

ClearRegistryRequest(
    boolean deleteAll,
    ClearRegistryRequest.ClearTypedRegistryOption clearTypedRegistryOption
)

constructs an instance of ClearRegistryRequest

Public methods

final int
final ClearRegistryRequest.ClearTypedRegistryOption

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

final boolean

whether to delete all registries for your app

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull ClearRegistryRequestCREATOR

Public constructors

ClearRegistryRequest

public ClearRegistryRequest()

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

ClearRegistryRequest

public ClearRegistryRequest(
    boolean deleteAll,
    ClearRegistryRequest.ClearTypedRegistryOption clearTypedRegistryOption
)

constructs an instance of ClearRegistryRequest

Parameters
boolean deleteAll

whether to delete all registries for your app

ClearRegistryRequest.ClearTypedRegistryOption clearTypedRegistryOption

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

Public methods

describeContents

public final int describeContents()

getClearTypedRegistryOption

public final ClearRegistryRequest.ClearTypedRegistryOption getClearTypedRegistryOption()

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

getDeleteAll

public final boolean getDeleteAll()

whether to delete all registries for your app

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)