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://stripe.com/docs/terminal/readers/connecting.

Parameters

callback

The Callback that should be called after disconnection.