SCPReaderSoftwareUpdate
Objective-C
@interface SCPReaderSoftwareUpdate : NSObject
Swift
class ReaderSoftwareUpdate : NSObject
An object representing a reader update.
-
The estimated amount of time for the update.
Declaration
Objective-C
@property (nonatomic, readonly) SCPUpdateDurationEstimate durationEstimate;
Swift
var durationEstimate: UpdateTimeEstimate { get }
-
The target version for the update.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull deviceSoftwareVersion;
Swift
var deviceSoftwareVersion: String { get }
-
The components that will be installed in this update.
Declaration
Objective-C
@property (nonatomic, readonly) SCPUpdateComponent components;
Swift
var components: UpdateComponent { get }
-
The date at which this update will be required to be installed. If this date is in the past, the SDK will automatically update the reader upon connection. The reader will not be able to transact until the update is complete.
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *_Nonnull requiredAt;
Swift
var requiredAt: Date { get }
-
Returns an unlocalized string for the given update time estimate.
Declaration
Objective-C
+ (nonnull NSString *)stringFromUpdateDurationEstimate: (SCPUpdateDurationEstimate)estimate;
Swift
class func string(from estimate: UpdateTimeEstimate) -> String
-
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;