Builder

open class Builder

Constructors

Link copied to clipboard
open fun Builder()
Creates the builder for making a ContextualInfoSettings object

Functions

Link copied to clipboard
open fun build(): MPContextualInfoSettings
Builds the MPContextualInfoSettings object
Link copied to clipboard
open fun setCategories(categories: List<String>): MPContextualInfoSettings.Builder
Set a list of types used to find entry points
Link copied to clipboard
open fun setContextualInfoScope(@NonNull contextualInfoScope: MPDirectionsContextualInfoScopeEnum): MPContextualInfoSettings.Builder
Set the contextual info scope.
Link copied to clipboard
open fun setMaxDistance(maxDistance: Double): MPContextualInfoSettings.Builder
Set the max distance for where to find locations to give contextual info
Link copied to clipboard
open fun setTypes(types: List<String>): MPContextualInfoSettings.Builder
Set a list of types used to find entry points