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
hasProgressWhether this ProgressData contains a ‘progress’ status or not
progressProgress (percentage)
hasStatusTextWhether this ProgressData contains a ‘status_text’ or not
statusTextInstruction text
-
Declaration
Swift
public static func == (lhs: ProgressData, rhs: ProgressData) -> Bool
View on GitHub
Install in Dash
ProgressData Structure Reference