ReaderSupportResult

sealed interface ReaderSupportResult

Result of a query to check if a reader connection type is supported.

Inheritors

Types

Link copied to clipboard
data class NotSupported(val error: Throwable) : ReaderSupportResult

Type used when a reader is unsupported, with a reason

Link copied to clipboard

Result returned when a reader is supported

Properties

Link copied to clipboard
abstract val error: Throwable?

Whether the reader is supported on this device and connection status.

Link copied to clipboard

If unsupported, this error contains a reason as to why the reader is not supported.