DockManager

interface DockManager

Inheritors

Properties

Link copied to clipboard
abstract val dockConnectionState: StateFlow<DockState>

Current connected dock status DockState.Attached is only emitted if refreshConnectionStateForAttachedDock is (periodically) called

Functions

Link copied to clipboard
abstract suspend fun connectToDock(usbAccessory: UsbAccessory)

Connects to a USB Accessory (Dock).

Link copied to clipboard
abstract suspend fun disconnect()

Disconnects from the current connected device.

Link copied to clipboard

Refreshes the connected and attached status of NYC1 Dock