summaryrefslogtreecommitdiff
path: root/api/franca/navigation/navigationcore/Guidance.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'api/franca/navigation/navigationcore/Guidance.fidl')
-rw-r--r--api/franca/navigation/navigationcore/Guidance.fidl29
1 files changed, 16 insertions, 13 deletions
diff --git a/api/franca/navigation/navigationcore/Guidance.fidl b/api/franca/navigation/navigationcore/Guidance.fidl
index e4c4f18..4e760e2 100644
--- a/api/franca/navigation/navigationcore/Guidance.fidl
+++ b/api/franca/navigation/navigationcore/Guidance.fidl
@@ -267,9 +267,12 @@ interface Guidance {
<**
@description : playVoiceManeuver = This method plays or repeats the last voice guidance
- notify(GUIDANCE_ERROR_VOICENOTALLOWED) is emitted if the voice generation is inactive
**>
method playVoiceManeuver {
+ error {
+ OK
+ GUIDANCE_ERROR_VOICENOTALLOWED //the voice generation is inactive
+ }
}
<**
@@ -333,7 +336,6 @@ interface Guidance {
<**
@description : getManeuversList = This method retrieves the list of next maneuvers
- notify(GUIDANCE_ERROR_NOMANEUVER) is emitted in case there's no maneuver until the destination
**>
method getManeuversList {
in {
@@ -357,6 +359,10 @@ interface Guidance {
Maneuver[] maneuversList
}
+ error {
+ OK
+ GUIDANCE_ERROR_NOMANEUVER //there's no maneuver until the destination
+ }
}
<**
@@ -379,7 +385,6 @@ interface Guidance {
<**
@description : skipNextManeuver = This method allows to jump behind the current maneuver
- notify(GUIDANCE_ERROR_NOMANEUVER) is emitted in case there's no maneuver until the destination
**>
method skipNextManeuver {
in {
@@ -389,6 +394,10 @@ interface Guidance {
**>
Handle sessionHandle
}
+ error {
+ OK
+ GUIDANCE_ERROR_NOMANEUVER //there's no maneuver until the destination
+ }
}
<**
@@ -411,7 +420,6 @@ interface Guidance {
<**
@description : setVoiceGuidanceSettings = This method sets the voice guidance settings
- notify(GUIDANCE_ERROR_VOICENOTALLOWED) is emitted if the voice generation is inactive
**>
method setVoiceGuidanceSettings {
in {
@@ -421,6 +429,10 @@ interface Guidance {
**>
PromptMode promptMode
}
+ error {
+ OK
+ GUIDANCE_ERROR_VOICENOTALLOWED //the voice generation is inactive
+ }
}
<**
@@ -535,13 +547,4 @@ interface Guidance {
RouteChangedCause changeCause
}
}
-
- <**
- @description : notify = This signal is emitted when something wrong occured when invoking the API
- **>
- broadcast notify {
- out {
- Notification notification
- }
- }
} \ No newline at end of file