ReaderSupportResult

interface ReaderSupportResult

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

Types

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

Type used when a reader is unsupported, with a reason

Link copied to clipboard
object Supported : ReaderSupportResult

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
open val isSupported: Boolean

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

Inheritors

Link copied to clipboard
Link copied to clipboard