Connection API
How your app reaches the device: pick a transport, follow the connection and signing lifecycle, and release the popup when the flow ends. The connection is lazy — the transport is created on the first call that reaches the device, so these setters are cached and applied on connect.
setTransport
Selects how the connector reaches the device — over WebHID or Bluetooth, with no native helper to install.
setConnectionListener
Registers a callback that fires whenever the connection state changes. The callback receives two independent axes: the popup axis (is the bridge window alive?) and the device axis (is a hardware wallet attached?). Use it to drive connection UI (spinner, connected badge, "please reconnect your device" prompt).
setSignProgressListener
Registers a callback that fires while a single signing request needs more than one device signature. Use it to show "1 of 2" progress instead of a frozen spinner.
setTimeOutMs
Sets the request timeout, in milliseconds, for transport-level operations.
popupWindowClose
Closes the bridge popup and releases the active transport. Call when your flow ends or to force-release a stuck popup.