Skip to main content
Auto-generated from the Seam Android SDK Kotlin sources. Do not edit by hand — see mintlify-codegen/android-reference/.

Overview

sealed class SeamError : Exception()
Base class for all Seam errors. These errors are thrown by Seam classes and interfaces. They are all subclasses of SeamError.

Cases

InitializationRequired

The SDK has not been initialized. Call SeamSDK.initialize first. Usually thrown when trying to call a method that requires the SDK to be initialized, such as SeamSDK.unlock or SeamSDK.activate.
class InitializationRequired : SeamError()

ActivationRequired

The app user’s phone has not been activated. Call SeamSDK.activate first.
class ActivationRequired : SeamError()

IntegrationNotFound

No integration found for the specified credential. Usually thrown when trying to unlock a credential that doesn’t have an integration (Assa Abloy, Latch, Salto, etc) associated with it.
class IntegrationNotFound : SeamError()

AlreadyInitialized

The SDK is already initialized. Thrown when trying to call SeamSDK.initialize multiple times. You can call SeamSDK.deactivate first.
class AlreadyInitialized : SeamError()

DeactivationInProgress

A deactivation is already in progress. Throw when trying to call SeamSDK.deactivate multiple times.
class DeactivationInProgress : SeamError()

InvalidCredentialId

The credential id is invalid. This error is usually thrown when trying to unlock with a credential that is invalid, or not recognized by the SDK.
class InvalidCredentialId : SeamError()

CredentialErrors

There are multiple credential errors. Thrown when trying to unlock with a credential. Check the errors list for more details.
class CredentialErrors(val errors: List<SeamCredentialError>) : SeamError()
Parameters
ParameterDescription
errorsthe list of errors

InternetConnectionRequired

The device does not have an internet connection. Usually thrown when trying to call a method that requires an internet connection, such as SeamSDK.unlock, SeamSDK.initialize, SeamSDK.refresh, SeamSDK.activate etc.
class InternetConnectionRequired : SeamError()

InvalidClientSessionToken

The client session token is invalid. Trhown when trying to call SeamSDK.initialize with an invalid client session token.
class InvalidClientSessionToken(
Parameters
ParameterDescription
messagethe error message

InvalidUnlockProximity

The unlock proximity is invalid. Thrown when trying to unlock with an invalid unlock proximity.
class InvalidUnlockProximity : SeamError()

Unknown

An unknown error occurred.
class Unknown : SeamError()