RSDFileResultObject
public struct RSDFileResultObject : RSDFileResult, Codable
RSDFileResultObject is a concrete implementation of a result that holds a pointer to a file url.
-
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 = Date() -
The end date timestamp for the result.
Declaration
Swift
public var endDate: Date = Date() -
The system clock uptime when the recorder was started (if applicable).
Declaration
Swift
public var startUptime: TimeInterval? -
The URL with the path to the file-based result.
Declaration
Swift
public var url: URL? -
The MIME content type of the result.
Declaration
Swift
public var contentType: String? -
Default initializer for this object.
Declaration
Swift
public init(identifier: String, type: RSDResultType = .file)Parameters
identifierThe identifier string.
typeThe
RSDResultTypefor this result. Default =.file.
View on GitHub
RSDFileResultObject Structure Reference