capacitor-stripe-terminal
    Preparing search index...

    Interface UsbConnectionConfiguration

    interface UsbConnectionConfiguration {
        autoReconnectOnUnexpectedDisconnect?: boolean;
        locationId: string;
    }

    Hierarchy (View Summary)

    Index
    autoReconnectOnUnexpectedDisconnect?: boolean

    When set to true, the Terminal SDK will attempt to auto-reconnect on any unexpected disconnect.

    false
    
    locationId: string

    The ID of the Location which the reader should be registered to during connection.

    If the provided ID matches the location the reader is already registered to, the location will not be changed.

    When connecting to a simulated reader, pass in the reader's pre-existing mock location. You can find the mock location ID on the reader object, on the locationId property.