UpdateCheckResponse
public class UpdateCheckResponse : NSObject
This class is a container for a response provided by the Barracks service.
The instance of this class is retrieved in the UpdateCheckCallback.onUpdateAvailable(update:)
when the call to BarracksClient.checkUpdate(_:callback:)
is successful.
You can then use it to download the update package using BarracksClient.downloadPackage(response:, callback:, destination:)
.
-
The version ID of the update.
Declaration
Swift
public let versionId: String
-
The package information, useful for downloading and checking the package.
Declaration
Swift
public let packageInfo: PackageInfo
-
The user-defined customUpdateData of the update.
Declaration
Swift
public let customUpdateData: [String: AnyObject?]?