UI Shields
/
com.mapbox.navigation.ui.shield.model
/
RouteShield
/
MapboxLegacyShield
androidJvm
Mapbox
Legacy
Shield
class
MapboxLegacyShield
:
RouteShield
Content copied to clipboard
Type representation of
RouteShield
which is to be used when requesting mapbox legacy shields.
Functions
Properties
Functions
compareWith
Link copied to clipboard
androidJvm
fun
compareWith
(other:
String
?):
Boolean
Content copied to clipboard
Invoke the method to compare two legacy shields based on shield url
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.MapboxLegacyShield.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
initialUrl
Link copied to clipboard
androidJvm
val
initialUrl
:
String
Content copied to clipboard
the original legacy url obtained from directions response pointing to a shield.
url
Link copied to clipboard
androidJvm
val
url
:
String
Content copied to clipboard
used to download the shield