added new parameter

This commit is contained in:
afischerdev 2025-04-12 16:04:15 +02:00
parent 063efcc3e1
commit e88b936afd

View file

@ -30,13 +30,18 @@ interface IBRouterService {
// "profile" = profile file name without .brf // "profile" = profile file name without .brf
// "alternativeidx" = [0|1|2|3] (optional, default 0) // "alternativeidx" = [0|1|2|3] (optional, default 0)
// "exportWaypoints" = 1 to export them (optional, default is no export) // "exportWaypoints" = 1 to export them (optional, default is no export)
// "exportCorrectedWaypoints" = 1 to export them (optional, default is no export)
// "pois" = lon,lat,name|... (optional) // "pois" = lon,lat,name|... (optional)
// "extraParams" = Bundle key=value list for a profile setup (like "profile:") // "extraParams" = Bundle key=value list for a profile setup (like "profile:")
// "timode" = turnInstructionMode [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=orux-style, 7=locus-old-style] default 0 // "timode" = turnInstructionMode [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=orux-style, 7=locus-old-style] default 0
// "heading" = angle (optional to give a route a start direction) // "heading" = angle (optional to give a route a start direction)
// "direction" = angle (optional, used like "heading" on a recalculation request by Locus as start direction) // "direction" = angle (optional, used like "heading" on a recalculation request by Locus as start direction, is also used for round trip as start direction - on value = -1, BRouter uses a random direction)
// "engineMode" = 0 (optional, default 0, 2 = get elevation, 3 = get segment info) // "engineMode" = 0 (optional, default 0, 2 = get elevation, 3 = get segment info, 4 = round trip)
//
// extra round trip parameter
// "roundTripDistance" = distance to the round trip points (default 1500)
// "roundTripPoints" = number of used points (default 5)
//
// return null if all ok and no path given, the track if ok and path given, an error message if it was wrong // return null if all ok and no path given, the track if ok and path given, an error message if it was wrong
// the resultas string when 'pathToFileResult' is null, this should be default when Android Q or later // the resultas string when 'pathToFileResult' is null, this should be default when Android Q or later
// call in a background thread, heavy task! // call in a background thread, heavy task!