disconnectReader

fun disconnectReader(callback: Callback)

Attempts to disconnect from the currently connected reader.

If the disconnect succeeds, Callback.onSuccess will be called. If the disconnect fails, the Callback.onFailure is called with an error.

See https://docs.corp.stripe.com/terminal/payments/connect-reader.

Parameters

callback

The Callback that should be called after disconnection.