Package com.mapfactor.sdk.routing
Interface VehiclesManager
public interface VehiclesManager
Vehicles manager
- Since:
- 1.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Setting active vehicle results -
Method Summary
Modifier and TypeMethodDescriptionGet active vehicle profileGet all defined vehicles of given typesetActiveVehicleProfile
(String vehicleId) Set active vehicle profile identified by vehicle ID
-
Method Details
-
getVehicles
Get all defined vehicles of given type- Parameters:
type
- type of vehicle ('null' for all vehicle types)- Returns:
- list of all defined vehicles of requested type
- Since:
- 1.0
-
getActiveVehicleProfile
Get active vehicle profile- Returns:
- current vehicle profile
- Since:
- 1.0
-
setActiveVehicleProfile
@NonNull VehiclesManager.SetActiveVehicleProfileResult setActiveVehicleProfile(@NonNull String vehicleId) Set active vehicle profile identified by vehicle ID- Parameters:
vehicleId
- existing vehicle ID- Returns:
- success or reason of failure
- Since:
- 1.0
-