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

READER_UNAVAILABLE
Link copied to clipboard
READER_UNAVAILABLE

The reader is unavailable and cannot be reconnected.

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_CONNECTED_TO_DEVICE
Link copied to clipboard
READER_NOT_CONNECTED_TO_DEVICE

The reader is not yet connected to the device and cannot retry at this time.

READER_ALREADY_READY
Link copied to clipboard
READER_ALREADY_READY

The reader is already ready and doesn't need to reconnect.

NO_NETWORK
Link copied to clipboard
NO_NETWORK

No network connectivity is available to retry the connection.

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.