GMTDUpdateDeliveryTaskRequest
@interface GMTDUpdateDeliveryTaskRequest : GMTSImmutableDataAn immutable object representing a request to update a delivery task.
-
Initializes and returns a
GMTDCreateDeliveryTaskRequestobject using the provided attributes.Declaration
Swift
init(taskID: String, taskOutcome: GMTSTaskOutcome, taskOutcomeTimestamp outcomeTimestamp: TimeInterval)Objective-C
- (nonnull instancetype)initWithTaskID:(nonnull GMTDFleetEngineIDString *)taskID taskOutcome:(GMTSTaskOutcome)taskOutcome taskOutcomeTimestamp:(NSTimeInterval)outcomeTimestamp;Parameters
taskIDThe ID of the task.
taskOutcomeThe outcome of the task.
outcomeTimestampThe time when the outcome was reported.
-
Unavailable
Use
-initWithTaskID:taskOutcome:taskOutcomeTimestamp:instead.Declaration
Objective-C
- (null_unspecified instancetype)init; -
The ID of the task.
Declaration
Swift
var taskID: String { get }Objective-C
@property (nonatomic, readonly) GMTDFleetEngineIDString *_Nonnull taskID; -
The outcome of the task.
Declaration
Swift
var taskOutcome: GMTSTaskOutcome { get }Objective-C
@property (nonatomic, readonly) GMTSTaskOutcome taskOutcome; -
The time the outcome occurred.
Declaration
Swift
var outcomeTimestamp: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval outcomeTimestamp;