ClearCreationOptionsRequest

public final class ClearCreationOptionsRequest 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.registerCreationOptions 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.

ClearCreationOptionsRequest(
    boolean deleteAll,
    ClearCreationOptionsRequest.ClearTypedCreationOption clearTypedRegistryOption
)

constructs an instance of ClearCreationOptionsRequest

Public methods

final int
final ClearCreationOptionsRequest.ClearTypedCreationOption

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

final boolean

whether to delete all registries for your app

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

Public constructors

ClearCreationOptionsRequest

public ClearCreationOptionsRequest()

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

ClearCreationOptionsRequest

public ClearCreationOptionsRequest(
    boolean deleteAll,
    ClearCreationOptionsRequest.ClearTypedCreationOption clearTypedRegistryOption
)

constructs an instance of ClearCreationOptionsRequest

Parameters
boolean deleteAll

whether to delete all registries for your app

ClearCreationOptionsRequest.ClearTypedCreationOption clearTypedRegistryOption

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

Public methods

describeContents

public final int describeContents()

getClearTypedRegistryOption

public final ClearCreationOptionsRequest.ClearTypedCreationOption getClearTypedRegistryOption()

an option to clear the registries for a given type that matches the RegisterCreationOptionsRequest.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)