Classes
The following classes are available globally.
-
The main entry point for using Barracks’ SDK. This class provides methods to help you getting information about the available updates for a specific configuration.
See moreDeclaration
Swift
open class BarracksClient
-
This class is a container for the package informations useful for downloading and checking the udpate package.
See moreDeclaration
Swift
public class PackageInfo
-
This class is used when performing a request for an update using
See moreBarracksClient.checkUpdate(_:callback:)Declaration
Swift
public class UpdateCheckRequest
-
This class is a container for a response provided by the Barracks service. The instance of this class is retrieved in the
See moreUpdateCheckCallback.onUpdateAvailable(update:)when the call toBarracksClient.checkUpdate(_:callback:)is successful. You can then use it to download the update package usingBarracksClient.downloadPackage(response:, callback:, destination:).Declaration
Swift
public class UpdateCheckResponse : NSObject
View on GitHub
Install in Dash
Classes Reference