BugCapsuleConnectionState enum

Where the SDK stands with the backend (BugCapsule.status.connection.state).

Inheritance
Available extensions

Values

notConfigured → const BugCapsuleConnectionState

No token and no backend: the app runs without BugCapsule uploads.

const BugCapsuleConnectionState('not_configured')
invalidToken → const BugCapsuleConnectionState

The token can't be used (see message); the app runs without BugCapsule.

const BugCapsuleConnectionState('invalid_token')
unsupportedTokenVersion → const BugCapsuleConnectionState

The token's version needs a newer SDK; the app runs without BugCapsule.

const BugCapsuleConnectionState('unsupported_token_version')
connecting → const BugCapsuleConnectionState

No config fetched yet in this session.

const BugCapsuleConnectionState('connecting')
connected → const BugCapsuleConnectionState

The config was fetched in this session (basic connectivity).

const BugCapsuleConnectionState('connected')
offline → const BugCapsuleConnectionState

The backend can't be reached (network error, timeout, 5xx, 408, 429); data waits in the outbox and is retried with backoff.

const BugCapsuleConnectionState('offline')
rejected → const BugCapsuleConnectionState

The backend refused the credential (reason: token_revoked, token_expired, token_unknown, key_unknown_or_revoked, ...). Capture and uploads are off for this session.

const BugCapsuleConnectionState('rejected')
disabled → const BugCapsuleConnectionState

enabled: false, or capture switched off by the backend.

const BugCapsuleConnectionState('disabled')

Properties

code → String
The cross-SDK name, e.g. not_configured.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<BugCapsuleConnectionState>
A constant List of the values in this enum, in order of their declaration.