GoogleRidesharingDriver Framework Reference
GMTSTaskOutcome
enum GMTSTaskOutcome : NSUInteger {}
\defgroup GMTSTaskOutcome GMTSTaskOutcome
@{
-
Declaration
Swift
case unspecified = 0
Objective-C
GMTSTaskOutcomeUnspecified = 0
-
Declaration
Objective-C
GMTSTaskOutcomeSuccess
-
Declaration
Objective-C
GMTSTaskOutcomeFailure
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
[null,null,["Last updated 2025-01-21 UTC."],[[["`GMTSTaskOutcome` is an enumeration defining possible outcomes of a task."],["`GMTSTaskOutcomeUnspecified` indicates an unspecified task outcome, represented by the value 0 in both Swift and Objective-C."],["`GMTSTaskOutcomeSuccess` represents a successful task outcome, with a value of 1 in Swift and Objective-C."],["`GMTSTaskOutcomeFailure` signifies a failed task outcome, corresponding to a value of 2 in both Swift and Objective-C."]]],["The `GMTSTaskOutcome` is an enumeration with three possible states: `unspecified`, `success`, and `failure`. `unspecified` is represented as 0, `success` as 1, and `failure` as 2 in both Swift and Objective-C. This enum defines the outcome of a task, providing distinct options to indicate whether a task's execution was not defined, completed successfully, or failed.\n"]]