|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| int | accept (const Ride &ride) noexcept |
| Accept a ride. | |
| int | finish () noexcept |
| Finish current ride. | |
| int | cancel (const Ride &ride) noexcept |
| Cancel ride. | |
| int | pickup () noexcept |
| Pickup rider. | |
| const DriverPreferences & | getPreferences () const noexcept |
| Get the driver preferences. | |
| RideList | getRides () const noexcept |
| Get all driver active rides in execution order. | |
| Ride | getCurrentRide () const noexcept |
| Get driver current ride. | |
| gem::Route | getNavigationRoute () const noexcept |
| Get driver 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 |
Accept a ride.
| ride | A const reference to the Ride object which is accepted |
|
inlinenoexcept |
Cancel ride.
| ride | Identify the ride to cancel, current or next |
|
inlinenoexcept |
Finish current ride.
|
inlinenoexcept |
Get driver current ride.
|
inlinenoexcept |
Get driver corresponding navigation route.
|
inlinenoexcept |
Get the driver preferences.
|
inlinenoexcept |
Get all driver active rides in execution order.
|
inlinenoexcept |
Get driver current state.
|
inlinenoexcept |
Pickup rider.
|
inlinestatic |
|
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 |