SCPOfflineStatus

Objective-C


@interface SCPOfflineStatus : NSObject

Swift

class OfflineStatus : NSObject

Provides offline status details for the connected reader and the SDK.

  • Returns the offline status details for the connected smart reader (if any). If no smart reader is connected, this value will be null.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) SCPOfflineStatusDetails *reader;

    Swift

    var reader: OfflineStatusDetails? { get }
  • sdk

    Returns the offline status details for the POS device, useful for the case of mobile readers where the POS acts as the agent for storing and forwarding payment requests.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SCPOfflineStatusDetails *_Nonnull sdk;

    Swift

    var sdk: OfflineStatusDetails { get }
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)new;