RSDResult
public protocol RSDResult : Codable
RSDResult
is the base implementation for a result associated with a task, step, or asynchronous action.
When running a task, there will be a result of some variety used to mark each step in the task. This is
the base protocol. All the RSDResult
objects are required to conform to the Codable
protocol to allow
the app to store and upload results in a standardized way.
-
The identifier associated with the task, step, or asynchronous action.
Declaration
Swift
var identifier: String
-
A String that indicates the type of the result. This is used to decode the result using a
RSDFactory
.Declaration
Swift
var type: RSDResultType
-
The start date timestamp for the result.
Declaration
Swift
var startDate: Date
-
The end date timestamp for the result.
Declaration
Swift
var endDate: Date