RSDResultObject
public struct RSDResultObject : RSDNavigationResult, Codable
RSDResultObject
is a concrete implementation of the base result associated with a task, step, or asynchronous action.
-
The identifier associated with the task, step, or asynchronous action.
Declaration
Swift
public let identifier: String
-
A String that indicates the type of the result. This is used to decode the result using a
RSDFactory
.Declaration
Swift
public let type: RSDResultType
-
The start date timestamp for the result.
Declaration
Swift
public var startDate: Date
-
The end date timestamp for the result.
Declaration
Swift
public var endDate: Date
-
The identifier for the step to go to following this result. If non-nil, then this will be used in navigation handling.
Declaration
Swift
public var skipToIdentifier: String?
-
Default initializer for this object.
Declaration
Swift
public init(identifier: String, type: RSDResultType = .base)
Parameters
identifier
The identifier string.
type
The
RSDResultType
for this result. Default =.base
.