AnchorEntity.PersistState


public enum AnchorEntity.PersistState extends Enum


Specifies the current persist state of the Anchor.

Summary

Enum Values

PERSISTED

The anchor is persisted successfully.

PERSIST_NOT_REQUESTED

The anchor hasn't been requested to persist.

PERSIST_PENDING

The anchor is requested to persist but hasn't been persisted yet.

Public methods

final @NonNull EnumEntries<@NonNull AnchorEntity.PersistState>

Specifies the current persist state of the Anchor.

final @NonNull AnchorEntity.PersistState

Returns the enum constant of this type with the specified name.

final @NonNull AnchorEntity.PersistState[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

PERSISTED

AnchorEntity.PersistState AnchorEntity.PersistState.PERSISTED

The anchor is persisted successfully.

PERSIST_NOT_REQUESTED

AnchorEntity.PersistState AnchorEntity.PersistState.PERSIST_NOT_REQUESTED

The anchor hasn't been requested to persist.

PERSIST_PENDING

AnchorEntity.PersistState AnchorEntity.PersistState.PERSIST_PENDING

The anchor is requested to persist but hasn't been persisted yet.

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull AnchorEntity.PersistStategetEntries()

Specifies the current persist state of the Anchor.

valueOf

Added in 1.0.0-alpha01
public final @NonNull AnchorEntity.PersistState valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0-alpha01
public final @NonNull AnchorEntity.PersistState[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.