SUUpdatePermissionResponse

Objective-C

@interface SUUpdatePermissionResponse : NSObject <NSSecureCoding>

Swift

class SUUpdatePermissionResponse : NSObject, NSSecureCoding

This class represents a response for permission to check updates.

  • Initializes a new update permission response instance.

    Declaration

    Objective-C

    - (instancetype)initWithAutomaticUpdateChecks:(BOOL)automaticUpdateChecks
                                sendSystemProfile:(BOOL)sendSystemProfile;

    Swift

    init!(automaticUpdateChecks: Bool, sendSystemProfile: Bool)

    Parameters

    automaticUpdateChecks

    Flag for whether to allow automatic update checks.

    sendSystemProfile

    Flag for if system profile information should be sent to the server hosting the appcast.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • A read-only property indicating whether automatic update checks are allowed or not.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL automaticUpdateChecks;

    Swift

    var automaticUpdateChecks: Bool { get }
  • A read-only property indicating if system profile should be sent or not.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL sendSystemProfile;

    Swift

    var sendSystemProfile: Bool { get }