SessionException
@RequiresApi(value = 26) class SessionException : CrossDeviceException
kotlin.Any | |||||
↳ | kotlin.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.google.ambient.crossdevice.CrossDeviceException | ||||
↳ | com.google.ambient.crossdevice.sessions.SessionException |
Exception for session requests. Result
or ListenableFuture
returned from APIs in Sessions
may fail with this exception.
Summary
Nested types |
|
---|---|
SessionException.SessionErrorCode |
Public constructors |
|
---|---|
SessionException( |
Public properties |
|
---|---|
open @SessionException.SessionErrorCode Int |
The error code associated with this exception. |
Inherited functions |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
SessionException
SessionException(
errorCode: @SessionException.SessionErrorCode Int,
message: String? = null,
cause: Throwable? = null
)
Public properties
errorCode
open val errorCode: @SessionException.SessionErrorCode Int
The error code associated with this exception. Refer to the concrete implementations for the possible error codes and their meanings.
See also | |
---|---|
ConnectionsException |
|
SessionException |