| java.lang.Object | |
| ↳ | com.steerpath.sdk.maps.defaults.DirectionsAssetHelper.DefaultChooser |
SDK's Default IconChooser for deciding which drawable should be shown for RouteStep.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DefaultChooser() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int |
getDestinationReachedDrawableRes()
Return drawable resource specifically for the "destination reached" step.
| ||||||||||
| int |
getDrawable(Context context, RouteStep step)
Selects drawable resource for given RouteStep.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.steerpath.sdk.maps.defaults.DirectionsAssetHelper.IconChooser
| |||||||||||
Return drawable resource specifically for the "destination reached" step.
Selects drawable resource for given RouteStep. Uses RouteStep.getAction() for deciding correct step.