ZendriveVehicleTaggingError
enum ZendriveVehicleTaggingError : int {}
ZendriveVehicleTaggingError
-
ZendriveSDK is not setup. This error is also returned in case SDK setup has started but completion handler for setup is not called yet.
Declaration
Objective-C
kZendriveVehicleTaggingErrorNotSetup = 0
-
ZendriveVehicleInfo
object passed to+[ZendriveVehicleTagging associateVehicle:error:]
is invalid because of one of the following reasons:-- It is nil.
ZendriveVehicleInfo.vehicleId
is nil or has more than 64 characters.ZendriveVehicleInfo.vehicleId
doesn’t satisfy+[Zendrive isValidInputParameter:]
.ZendriveVehicleInfo.bluetoothId
is not a valid mac address.
Declaration
Objective-C
kZendriveVehicleTaggingErrorInvalidVehicleInfo = 1
-
+[ZendriveVehicleTagging associateVehicle:error:]
called for vehicle whose vehicleId or bluetoothId or both conflicts with an already associated vehicle.Declaration
Objective-C
kZendriveVehicleTaggingErrorAssociatedVehicleConflict = 2
-
+[ZendriveVehicleTagging associateVehicle:error:]
called for more than two vehicles.Declaration
Objective-C
kZendriveVehicleTaggingErrorAssociatedVehiclesLimitExceeded = 3
-
vehicleId passed to
+[ZendriveVehicleTagging dissociateVehicle:error:]
is invalid because of one of the following reasons:-- It is nil.
- It has more than 64 characters.
- It doesn’t satisfy
+[Zendrive isValidInputParameter:]
.
Declaration
Objective-C
kZendriveVehicleTaggingErrorInvalidVehicleId = 4
-
+[ZendriveVehicleTagging dissociateVehicle:error:]
called for an unassociated vehicle.Declaration
Objective-C
kZendriveVehicleTaggingErrorVehicleNotAssociated = 5
-
[ZendriveVehicleTagging getNearbyBeacons:uuid:major:minor:completionHandler:]
failed to scan for beacons.Declaration
Objective-C
kZendriveVehicleTaggingErrorBeaconScanTimeout = 6