ProgressData
public struct ProgressData : Equatable
Progress data coming from calibration.
Can be a progress percentage, or an instruction text.
-
Undocumented
Declaration
Swift
public let hasProgress: Bool
-
Undocumented
Declaration
Swift
public let progress: Float
-
Undocumented
Declaration
Swift
public let hasStatusText: Bool
-
Undocumented
Declaration
Swift
public let statusText: String
-
Initializes a new
ProgressData
.Declaration
Swift
public init(hasProgress: Bool, progress: Float, hasStatusText: Bool, statusText: String)
Parameters
hasProgress
Whether this ProgressData contains a ‘progress’ status or not
progress
Progress (percentage)
hasStatusText
Whether this ProgressData contains a ‘status_text’ or not
statusText
Instruction text
-
Declaration
Swift
public static func == (lhs: ProgressData, rhs: ProgressData) -> Bool