RSDResultSummaryStep
public protocol RSDResultSummaryStep : RSDUIStep
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
var resultTitle: String? { get }
-
The identifier for the result to display.
Declaration
Swift
var resultIdentifier: String? { get }
-
The step result identifier for the result to display.
Declaration
Swift
var stepResultIdentifier: String? { get }
-
The localized unit to display for this result.
Declaration
Swift
var unitText: String? { get }
-
answerResult(from:)
Extension methodGet the result to display as the answer from the task result.
Declaration
Swift
public func answerResult(from taskResult: RSDTaskResult) -> RSDAnswerResult?
Parameters
taskResult
The task result for this step.
Return Value
The answer (if any).