SPUUserUpdateState

Objective-C

@interface SPUUserUpdateState : NSObject

Swift

class SPUUserUpdateState : NSObject

This represents the user’s current update state.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • The current update stage.

    This stage indicates if data has been already downloaded or not, or if an update is currently being installed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SPUUserUpdateStage stage;

    Swift

    var stage: SPUUserUpdateStage { get }
  • Indicates whether or not the update check was initiated by the user.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL userInitiated;

    Swift

    var userInitiated: Bool { get }