GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMTSTaskOutcome\u003c/code\u003e is an enumeration defining possible outcomes of a task.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTSTaskOutcomeUnspecified\u003c/code\u003e indicates an unspecified task outcome, represented by the value 0 in both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTSTaskOutcomeSuccess\u003c/code\u003e represents a successful task outcome, with a value of 1 in Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTSTaskOutcomeFailure\u003c/code\u003e signifies a failed task outcome, corresponding to a value of 2 in both Swift and Objective-C.\u003c/p\u003e\n"]]],["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"],null,["# GoogleRidesharingDriver Framework Reference\n\nGMTSTaskOutcome\n===============\n\n enum GMTSTaskOutcome : NSUInteger {}\n\n\\\\defgroup GMTSTaskOutcome GMTSTaskOutcome\n@{\n- `\n ``\n ``\n `\n\n ### [GMTSTaskOutcomeUnspecified](#/c:@E@GMTSTaskOutcome@GMTSTaskOutcomeUnspecified)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case unspecified = 0\n\n Objective-C \n\n GMTSTaskOutcomeUnspecified = 0\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskOutcomeSuccess](#/c:@E@GMTSTaskOutcome@GMTSTaskOutcomeSuccess)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case success = 1\n\n Objective-C \n\n GMTSTaskOutcomeSuccess\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskOutcomeFailure](#/c:@E@GMTSTaskOutcome@GMTSTaskOutcomeFailure)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case failure = 2\n\n Objective-C \n\n GMTSTaskOutcomeFailure"]]