Class FallbackInfo
Information related to how and why a fallback result was used. If this field is set, then it means the server used a different routing mode from your preferred mode as fallback.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class FallbackInfo : IMessage<FallbackInfo>, IEquatable<FallbackInfo>, IDeepCloneable<FallbackInfo>, IBufferMessage, IMessage
Constructors
FallbackInfo()
Declaration
public FallbackInfo()
FallbackInfo(FallbackInfo)
Declaration
public FallbackInfo(FallbackInfo other)
Parameters
Type | Name | Description |
---|---|---|
FallbackInfo | other |
Properties
Reason
The reason why fallback response was used instead of the original response. This field is only populated when the fallback mode is triggered and the fallback response is returned.
Declaration
public FallbackReason Reason { get; set; }
Property Value
Type | Description |
---|---|
FallbackReason |
RoutingMode
Routing mode used for the response. If fallback was triggered, the mode may be different from routing preference set in the original client request.
Declaration
public FallbackRoutingMode RoutingMode { get; set; }
Property Value
Type | Description |
---|---|
FallbackRoutingMode |