GoogleRidesharingDriver Framework Reference
GMTSTaskOutcomeLocationSource
enum GMTSTaskOutcomeLocationSource : NSInteger {}
\defgroup GMTSTaskOutcomeLocationSource GMTSTaskOutcomeLocationSource
@{
-
Declaration
Swift
case unspecified = 0
Objective-C
GMTSTaskOutcomeLocationSourceUnspecified = 0
-
Declaration
Objective-C
GMTSTaskOutcomeLocationSourceProvider = 2
-
Declaration
Swift
case lastVehicleLocation = 3
Objective-C
GMTSTaskOutcomeLocationSourceLastVehicleLocation = 3
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."],[[["The `GMTSTaskOutcomeLocationSource` enum defines the origin of a task's outcome location."],["`GMTSTaskOutcomeLocationSourceUnspecified` (value 0) represents an unspecified source for the location."],["`GMTSTaskOutcomeLocationSourceProvider` (value 2) indicates that the task's outcome location is derived from a provider."],["`GMTSTaskOutcomeLocationSourceLastVehicleLocation` (value 3) signifies that the outcome location is based on the last known vehicle location."]]],["The `GMTSTaskOutcomeLocationSource` enum defines the origin of a task's outcome location. It specifies three possible sources: `unspecified` (value 0), representing an unknown source; `provider` (value 2), indicating the location came from a provider; and `lastVehicleLocation` (value 3), denoting that the location is based on the last known vehicle position. The enumeration is available in both Swift and Objective-C.\n"]]