# RetryConnectionResult

enum RetryConnectionResult : Enum<RetryConnectionResult>

Result of attempting to retry a connection to a card reader.

## Entries

STARTING_RECONNECTION
Link copied to clipboard
STARTING_RECONNECTION

Successfully initiated the reconnection process.

UNABLE_TO_RETRY
Link copied to clipboard
UNABLE_TO_RETRY

The reader's current state does not allow retrying the connection. This may be because the reader has an unrecoverable status (e.g. faulty hardware, non-retryable failure), or because the reader is not yet in a state where a retry is applicable (e.g. still connecting to the device). The developer may try again later or unpair and re-pair the reader.

READER_ALREADY_CONNECTING_TO_SQUARE
Link copied to clipboard
READER_ALREADY_CONNECTING_TO_SQUARE

The reader is already connecting to Square and cannot retry at this time.

READER_NOT_FOUND
Link copied to clipboard
READER_NOT_FOUND

The reader was not found.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<RetryConnectionResult>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): RetryConnectionResult

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.)

values
Link copied to clipboard
fun values(): Array<RetryConnectionResult>

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