Package com.mapbox.navigation.ui.shield.api

Types

Link copied to clipboard
class MapboxRouteShieldApi

A class that can be used to request route shields using either BannerComponents.imageBaseUrl or BannerComponents.mapboxShield. The class exposes API(s) that one can invoke to either always use mapbox legacy shields BannerComponents.imageBaseUrl or use mapbox designed shields BannerComponents.mapboxShield. In cases where API is unable to download mapbox designed shields for any reason, the API falls back to download legacy shields if available. Returns error otherwise.