SessionConfig
data class SessionConfig(val itineraryRecalculationEnabled: Boolean = true, val userLocationProjectionOnItineraryEnabled: Boolean = true, val userLocationProjectionOnGraphEnabled: Boolean = false, val pointsOfInterestLoadingTimeout: Duration = 10.seconds, val environment: Environment = Environment.PROD, val directionsEnvironment: Environment = Environment.PROD, internalConfig: SessionConfig.InternalConfig = InternalConfig())
Configuration for a com.getwemap.sdk.core.CoreSession — including a MapSession, which takes the same session-wide settings. Per-view rendering settings live on the view's own config instead.
All values take effect at session creation and cannot be changed afterward.
Constructors
Link copied to clipboard
constructor(itineraryRecalculationEnabled: Boolean = true, userLocationProjectionOnItineraryEnabled: Boolean = true, userLocationProjectionOnGraphEnabled: Boolean = false, pointsOfInterestLoadingTimeout: Duration = 10.seconds, environment: Environment = Environment.PROD, directionsEnvironment: Environment = Environment.PROD, internalConfig: SessionConfig.InternalConfig = InternalConfig())
Properties
Link copied to clipboard
The Directions backend environment the SDK connects to.
Link copied to clipboard
The backend environment the SDK connects to.
Link copied to clipboard
Determines whether the itinerary should be recalculated during navigation.
Link copied to clipboard
The timeout for initial points-of-interest loading.
Link copied to clipboard
Determines whether user's location should be projected on the indoor graph.
Link copied to clipboard
Determines whether user's location should be projected onto the itinerary during navigation.