|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| int | completeDelivery () noexcept |
| Complete current delivery in the ride deliveries chain. | |
| int | skipDelivery () noexcept |
| Skip the current delivery. | |
| int | cancel () noexcept |
| Cancel the ride in progress. | |
| int | reoptimize () noexcept |
| Reoptimize the ride in progress A new ride with the skipped or failed orders will be returned. | |
| int | finish () noexcept |
| Finish the ride in progress. | |
| DriverPreferences | getPreferences () noexcept |
| Get preferences. | |
| Ride | getRide () const noexcept |
| Get current driver ride. | |
| gem::Route | getNavigationRoute () const noexcept |
| Get driver ride corresponding navigation route. | |
| EDriverStatus | getState () const noexcept |
| Get driver current state. | |
| void | setTestMode (bool test) noexcept |
| Set the API test mode. | |
| void | getTestMode () noexcept |
| Get the API test mode. | |
Static Public Member Functions | |
| static StrongPointer< Driver > | produce (const DriverPreferences &prefs, DriverListener listener) |
| Create a Driver object. | |
Driver object.
|
inlinenoexcept |
Cancel the ride in progress.
|
inlinenoexcept |
Complete current delivery in the ride deliveries chain.
|
inlinenoexcept |
Finish the ride in progress.
|
inlinenoexcept |
Get driver ride corresponding navigation route.
|
inlinenoexcept |
Get preferences.
|
inlinenoexcept |
Get current driver ride.
|
inlinenoexcept |
Get driver current state.
|
inlinestatic |
|
inlinenoexcept |
Reoptimize the ride in progress A new ride with the skipped or failed orders will be returned.
|
inlinenoexcept |
Set the API test mode.
In test mode accepted rides are simulated instead of navigated
| test | true if the API is in test mode, false otherwise |
|
inlinenoexcept |
Skip the current delivery.