GMTDUpdateDeliveryTaskRequest
@interface GMTDUpdateDeliveryTaskRequest : GMTSImmutableData
An immutable object representing a request to update a delivery task.
-
Initializes and returns a
GMTDCreateDeliveryTaskRequest
object 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
taskID
The ID of the task.
taskOutcome
The outcome of the task.
outcomeTimestamp
The 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;