RoadShield

data class RoadShield(shieldUrl: String, shieldIcon: ByteArray)

Data structure that holds information about road shield.

Constructors

RoadShield
Link copied to clipboard
fun RoadShield(shieldUrl: String, shieldIcon: ByteArray)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): ByteArray
copy
Link copied to clipboard
fun copy(shieldUrl: String, shieldIcon: ByteArray): RoadShield
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

shieldIcon
Link copied to clipboard
var shieldIcon: ByteArray
ByteArray
shieldUrl
Link copied to clipboard
val shieldUrl: String
String

Extensions

toRouteShield
Link copied to clipboard
fun RoadShield.toRouteShield(): RouteShield
Extension function to convert RoadShield to RouteShield