PedestrianBuilder
public class PedestrianBuilder
extension TransportSpecification.PedestrianBuilder: NativeBase
extension TransportSpecification.PedestrianBuilder: Hashable
This class constructs a TransportSpecification for pedestrian.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
Sets the pedestrian specification.
Declaration
Swift
public func withPedestrianSpecification(_ pedestrianSpecification: PedestrianSpecification) -> TransportSpecification.PedestrianBuilderParameters
pedestrianSpecificationThe pedestrian specification.
Return Value
The
TransportSpecification.PedestrianBuilderobject with the pedestrian specification set to the new value. -
Builds the
TransportSpecificationobject for a pedestrian profile with the specifications taken from theTransportSpecification.PedestrianBuilderobject.Declaration
Swift
public func build() -> TransportSpecificationReturn Value
The
TransportSpecificationobject created from theTransportSpecification.PedestrianBuilderobject.