SCPReaderSoftwareUpdateDelegate

Objective-C

@protocol SCPReaderSoftwareUpdateDelegate <NSObject>

Swift

protocol ReaderSoftwareUpdateDelegate : NSObjectProtocol

Implement this protocol to handle updates when checking for and installing reader software updates.

You must implement the ability to update your reader’s software in your app. Though we expect required software updates to be very rare, by using Stripe Terminal, you are obligated to include this functionality.

Note

The Verifone P400 handles its own updates over the internet. The Stripe Terminal iOS SDK will not call SCPReaderSoftwareUpdateDelegate methods while connected to the Verifone P400.

  • The terminal reported progress on a reader software update.

    Declaration

    Objective-C

    - (void)terminal:(nonnull SCPTerminal *)terminal
        didReportReaderSoftwareUpdateProgress:(float)progress;

    Swift

    func terminal(_ terminal: Terminal, didReportReaderSoftwareUpdateProgress progress: Float)

    Parameters

    terminal

    The originating terminal.

    progress

    An estimate of the progress of the software update (in the range [0, 1]).