TransportSpecification.PedestrianBuilder (API Reference)
Package com.here.sdk.transport
Class TransportSpecification.PedestrianBuilder
java.lang.Object
com.here.NativeBase
com.here.sdk.transport.TransportSpecification.PedestrianBuilder
- Enclosing class:
- TransportSpecification
This class constructs a TransportSpecification for pedestrian.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theTransportSpecificationobject for a pedestrian profile with the specifications taken from theTransportSpecification.PedestrianBuilderobject.withPedestrianSpecification(PedestrianSpecification pedestrianSpecification) Sets the pedestrian specification.
-
Constructor Details
-
PedestrianBuilder
public PedestrianBuilder()Creates a new instance of this class.
-
-
Method Details
-
withPedestrianSpecification
@NonNull public TransportSpecification.PedestrianBuilder withPedestrianSpecification(@NonNull PedestrianSpecification pedestrianSpecification) Sets the pedestrian specification.
- Parameters:
pedestrianSpecification-The pedestrian specification.
- Returns:
The
TransportSpecification.PedestrianBuilderobject with the pedestrian specification set to the new value.
-
build
Builds the
TransportSpecificationobject for a pedestrian profile with the specifications taken from theTransportSpecification.PedestrianBuilderobject.- Returns:
The
TransportSpecificationobject created from theTransportSpecification.PedestrianBuilderobject.
-