Class Routes
The Routes API.
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public static class Routes
Methods
BindService(RoutesBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(Routes.RoutesBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
Routes.RoutesBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, RoutesBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, Routes.RoutesBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
Routes.RoutesBase | serviceImpl | An object implementing the server-side handling logic. |