Mutation
更新导航
使用 updateNavigation 变更更新进行中的导航会话。当您想在驾驶员沿路线行进时上报其位置时,此操作非常有用。
变更
更新导航会话需要其 id 和 location_data。id 可通过 startNavigation 变更获取。
参数
input· NavigationUpdateInput· required字段
Boolean· Boolean操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
empty_array_not_allowed- Array $NAME should have at least one value.
invalid_coordinates- Coordinates provided for $LOCATION are not valid.
invalid_unit- Provided unit type $TYPE for $LOCATION is not valid.
invalid_value- Provided value $VALUE for $LOCATION is not valid. Expected value of type $EXPECTEDTYPE.
navigation_heading_invalid- Heading should be a value between 0 and 360.
navigation_telemetry_invalid- Field $TELEMETRYTYPE cannot be negative.
negative_value_not_allowed- Negative value for $LOCATION is not allowed.
occupants_below_allowed- Provided number of occupants for $LOCATION is not valid. The value must be at least 1.
operation_not_allowed- You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded- Rate limit exceeded.
tire_pressure_below_allowed- Provided tire pressure is not valid. The value must be at least 1.
zero_or_negative_value_not_allowed- Zero or negative value for $LOCATION is not allowed.
此内容是否有帮助?