RSDResultSummaryStepObject
open class RSDResultSummaryStepObject : RSDActiveUIStepObject, RSDResultSummaryStep, RSDNavigationSkipRule
A result summary step is used to display a result that is calculated or measured earlier in the task.
-
Text to display as the title above the result.
Declaration
Swift
open private(set) var resultTitle: String? { get }
-
The localized unit text to display for this step.
Declaration
Swift
open private(set) var unitText: String? { get }
-
The identifier for the step result that contains the answer result.
Declaration
Swift
open private(set) var stepResultIdentifier: String? { get }
-
The identifier for the answer result.
Declaration
Swift
open private(set) var resultIdentifier: String? { get }
-
By default, if the
resultIdentifier
is non-nil, then the step should be skipped if the result is not in the result set.Declaration
Swift
open func shouldSkipStep(with result: RSDTaskResult?, isPeeking: Bool) -> Bool
-
Declaration
Swift
public required init(identifier: String, type: RSDStepType? = nil)
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Default type is
.completion
.Declaration
Swift
open override class func defaultType() -> RSDStepType
-
Override to set the properties of the subclass.
Declaration
Swift
override open func copyInto(_ copy: RSDUIStepObject)
-
Override the decoder per device type b/c the task may require a different set of permissions depending upon the device.
Declaration
Swift
open override func decode(from decoder: Decoder, for deviceType: RSDDeviceType?) throws