ClientResourceInfo
public struct ClientResourceInfo
Information about ClientResource
-
The resource download without error is mandatory
Declaration
Swift
public let mandatory: Bool
-
The resource download overwrites the existing file if it’s true
Declaration
Swift
public let canOverwrite: Bool
-
Resource name
Declaration
Swift
public let name: String?
-
Resource version
Declaration
Swift
public let version: String?
-
The path for the folder where the new file should download
Declaration
Swift
public let folderURL: URL?
-
Initializes the object
Declaration
Swift
public init(mandatory: Bool = false, canOverwrite: Bool = true, name: String? = nil, version: String? = nil, folderURL: URL? = nil)
Parameters
mandatory
The resource download without error is mandatory
canOverwrite
The resource download overwrites the existing file if it’s true
name
Resource name
version
Resource version
folderURL
The folder path for the new file. The default value is the Document directory.