GoogleRidesharingDriver Framework Reference
GMTDVehicleReporterErrorCode
enum GMTDVehicleReporterErrorCode : NSInteger {}
The error codes for GMTDVehicleReporter
.
-
Declaration
Objective-C
GMTDVehicleReporterErrorGeneral = 1
-
Declaration
Swift
case noActiveTrips = 2
Objective-C
GMTDVehicleReporterErrorNoActiveTrips
-
Declaration
Swift
case activeTripsFetchFailed = 3
Objective-C
GMTDVehicleReporterErrorActiveTripsFetchFailed
-
Declaration
Swift
case locationTrackingNotEnabled = 4
Objective-C
GMTDVehicleReporterErrorLocationTrackingNotEnabled
-
Declaration
Swift
case noLastKnownLocation = 5
Objective-C
GMTDVehicleReporterErrorNoLastKnownLocation
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."],[[["This page documents the `GMTDVehicleReporterErrorCode` enum, which defines error codes used by the `GMTDVehicleReporter`."],["The `general` error code, represented by the value 1, signifies a general error within the `GMTDVehicleReporter`."],["The `noActiveTrips` error code, represented by the value 2, indicates that there are no active trips being tracked."],["The `activeTripsFetchFailed` error code, represented by the value 3, is used when fetching active trips has failed."],["Error codes `locationTrackingNotEnabled` (4) and `noLastKnownLocation` (5) respectively indicate that location tracking is disabled and there is no known last location."]]],[]]