UI Shields
/
com.mapbox.navigation.ui.shield.model
/
RouteShield
/
MapboxDesignedShield
androidJvm
Mapbox
Designed
Shield
class
MapboxDesignedShield
:
RouteShield
Content copied to clipboard
Type representation of
RouteShield
which is to be used when requesting mapbox designed shields.
Functions
Properties
Functions
compareWith
Link copied to clipboard
androidJvm
fun
compareWith
(other:
MapboxShield
?):
Boolean
Content copied to clipboard
Invoke the method to compare two shields based on whether the shield url contains the shield name from
other
equals
Link copied to clipboard
androidJvm
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
Regenerate whenever a change is made
hashCode
Link copied to clipboard
androidJvm
open override fun
hashCode
():
Int
Content copied to clipboard
Regenerate whenever a change is made
toBitmap
Link copied to clipboard
androidJvm
open override fun
toBitmap
(resources:
Resources
, desiredHeight:
Int
?):
Bitmap
?
Content copied to clipboard
Invoke the method to convert
RouteShield.MapboxDesignedShield.byteArray
to
Bitmap
.
toString
Link copied to clipboard
androidJvm
open override fun
toString
():
String
Content copied to clipboard
Returns a string representation of the object.
Properties
byteArray
Link copied to clipboard
androidJvm
val
byteArray
:
ByteArray
Content copied to clipboard
shield image returned in the form of svg wrapped in a
ByteArray
mapboxShield
Link copied to clipboard
androidJvm
val
mapboxShield
:
MapboxShield
Content copied to clipboard
snippet of shield information associated with route
shieldSprite
Link copied to clipboard
androidJvm
val
shieldSprite
:
ShieldSprite
Content copied to clipboard
a sprite associated with the
mapboxShield
that would help in rendering the
byteArray
url
Link copied to clipboard
androidJvm
val
url
:
String
Content copied to clipboard
used to download the shield