addRoute

abstract fun addRoute(options: RouteOptions): Route

Adds a new Route based on the given RouteOptions

Return

Route instance with the assigned UniqueId.

Parameters

options

RouteOptions describing the desired properties of the Route.