ClearCreationOptionsRequest.ClearTypedCreationOption

class ClearCreationOptionsRequest.ClearTypedCreationOption : Parcelable


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

The order of the conditions are important. If deleteAllForType is true, then the other conditions are ignored and all the registries for the given type are deleted. Otherwise, the registries with the IDs provided in registryIds will be deleted.

Summary

Public constructors

ClearTypedCreationOption(
    deleteAllForType: Boolean,
    type: String,
    registryIds: List<String>
)

constructs an instance of ClearTypedCreationOption

Public functions

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

Public properties

Boolean

whether to delete all registries for the given type

List<String>

the IDs of the registries for the given type to delete

String

the type of registry to clear, matching the RegistrationRequest.type provided during registration

Public constructors

ClearTypedCreationOption

ClearTypedCreationOption(
    deleteAllForType: Boolean,
    type: String,
    registryIds: List<String>
)

constructs an instance of ClearTypedCreationOption

Parameters
deleteAllForType: Boolean

whether to delete all registries for the given type

type: String

the type of registry to clear, matching the RegistrationRequest.type provided during registration

registryIds: List<String>

the IDs of the registries for the given type to delete

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

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

Public properties

deleteAllForType

val deleteAllForTypeBoolean

whether to delete all registries for the given type

registryIds

val registryIdsList<String>

the IDs of the registries for the given type to delete

type

val typeString

the type of registry to clear, matching the RegistrationRequest.type provided during registration